import { ComponentProps , ReactNode , forwardRef } from "react" ; import { InternalProps , OmitInternalProps , StyledHtmlAttributes } from "../../shared" ; export interface InnerItemProps extends InternalProps , StyledHtmlAttributes { /**
     * React children.
     */ children : ReactNode ; /**
     * A unique key to identify the item.
     */ key ? : string ; } export function InnerItem ( props ) { return null ; } export const Item = forwardRef < any , OmitInternalProps < InnerItemProps > > ( ( props , ref ) => ( < InnerItem { ... props } forwardedRef = { ref } / > ) ) ; export type ItemProps = ComponentProps < typeof Item > ;