import * as React from 'react'; import { forwardRef } from 'react'; import { Box, BoxProps } from '../box/box'; /** * A list item component that can be used in a list. */ export interface ListItemProps extends BoxProps { /** * Separating string. * * @default "/" */ separator?: string; } export const ListItem = forwardRef( (props, ref) => { const { children, separator = '/', ...rest } = props; return ( {children} ); } );