UNPKG

@cainiaofe/cn-ui-m

Version:
22 lines (21 loc) 904 B
import { ForwardRefExoticComponent } from 'react'; import { CnListItem } from './item/index'; import CnListItemCaption from './item/caption'; import CnListItemExtra from './item/extra'; import CnListItemContent from './item/content'; import { CnListItemAction, CnListItemMedia } from './item/media'; import CnListItemTitle from './item/title'; import type { CnListItemProps, CnListProps } from './types'; import './styles/index.scss'; export interface ListComponent extends ForwardRefExoticComponent<CnListProps> { Item: typeof CnListItem; ItemMedia: typeof CnListItemMedia; ItemContent: typeof CnListItemContent; ItemTitle: typeof CnListItemTitle; ItemCaption: typeof CnListItemCaption; ItemExtra: typeof CnListItemExtra; ItemAction: typeof CnListItemAction; } declare const CnList: ListComponent; export type { CnListProps, CnListItemProps }; export { CnList, CnListItem };