import { Option, OptionColumn, OptionContent, OptionIcon, OptionInput } from '@rocket.chat/fuselage'; import type { ComponentProps, ReactNode } from 'react'; type ListItemCommonProps = { text: ReactNode; input?: ReactNode; loading?: boolean; children?: ReactNode; } & ComponentProps; type ListItemConditionalProps = | { icon?: ComponentProps['name']; gap?: never; } | { icon?: never; gap?: boolean; }; export type ListItemProps = ListItemCommonProps & ListItemConditionalProps; const ListItem = ({ icon, text, input, children, gap, ...props }: ListItemProps) => ( ); export default ListItem;