/* eslint-disable @typescript-eslint/no-explicit-any */ export type RenderProp< P = React.HTMLAttributes & { ref?: React.Ref; }, > = (props: P) => React.ReactNode; export interface MenuItemProps { id?: string; label?: string; onClick?: (e: React.MouseEvent) => void; icon?: React.ReactNode; kbd?: string; show?: boolean; disabled?: boolean; separate?: boolean; hideOnClick?: boolean; dialog?: React.ReactElement; ref?: React.Ref; render?: | RenderProp & { ref?: React.Ref | undefined }> | React.ReactElement> | undefined; }