UNPKG

@appbuckets/react-ui

Version:
18 lines (17 loc) 700 B
import { ShorthandItem } from '@appbuckets/react-ui-core'; import { UIMutableComponentProps } from '../generic'; import { LoaderProps } from '../Loader'; import { ItemHeaderProps } from './ItemHeader.types'; import { ItemMetaProps } from './ItemMeta.types'; export interface ItemContentProps extends UIMutableComponentProps<StrictItemContentProps> {} export interface StrictItemContentProps { /** Item Content shorthand */ content?: ShorthandItem<ItemContentProps>; /** Item Header shorthand */ header?: ShorthandItem<ItemHeaderProps>; /** Show the Loader instead of main content */ loading?: boolean | LoaderProps; /** Item Meta shorthand */ meta?: ShorthandItem<ItemMetaProps>; }