UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

22 lines (21 loc) 663 B
import { ReactNode } from 'react'; import { FlexboxProps } from 'react-layout-kit'; export interface ListItemProps extends Omit<FlexboxProps, 'title'> { actions?: ReactNode; active?: boolean; addon?: ReactNode; avatar?: ReactNode; classNames?: { time?: string; }; date?: number; description?: ReactNode; loading?: boolean; onClick?: () => void; onHoverChange?: (hover: boolean) => void; pin?: boolean; showAction?: boolean; title: ReactNode; } declare const ListItem: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<HTMLDivElement>>; export default ListItem;