UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

20 lines (19 loc) 762 B
import { type Props 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`. */ fontWeight?: 'regular' | 'medium'; /** Font size of the end content. Defaults to `basis`. */ fontSize?: 'small' | 'basis'; /** If `true`, applies skeleton loading state. Inherits from parent List context when not set. */ skeleton?: SkeletonShow; } & FlexItemProps; declare function ItemEnd(props: ItemEndProps): import("react/jsx-runtime").JSX.Element; declare namespace ItemEnd { var _supportsSpacingProps: boolean; } export default ItemEnd;