@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
28 lines (27 loc) • 959 B
TypeScript
import type { FlexItemAllProps as FlexItemProps } from '../flex/Item';
import type { SkeletonShow } from '../Skeleton';
/**
* Props for List.Cell.End (ItemEnd).
* Extends Flex.Item; supports spacing props.
*/
export type ItemEndProps = {
/**
* Font weight of the end content. Defaults to `medium`.
* Default: `"medium"`
*/
fontWeight?: 'regular' | 'medium';
/**
* Font size of the end content. Defaults to `basis`. Use `small` for smaller text.
* Default: `"basis"`
*/
fontSize?: 'small' | 'basis';
/**
* When `true`, applies skeleton font styling to all child items inside the scroll view. Propagated via context so nested `List.Container` and items inherit it.
*/
skeleton?: SkeletonShow;
} & FlexItemProps;
declare function ItemEnd(props: ItemEndProps): import("react/jsx-runtime").JSX.Element;
declare namespace ItemEnd {
var _supportsSpacingProps: boolean;
}
export default ItemEnd;