UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

20 lines (19 loc) 840 B
import { type Props as FlexItemProps } from '../flex/Item'; import type { SkeletonShow } from '../Skeleton'; /** * Props for List.Cell.Start (ItemStart). * Extends Flex.Item; supports spacing props. */ export type ItemStartProps = FlexItemProps & { /** Font size of the start content. Defaults to `basis`. */ fontSize?: 'small' | 'basis'; /** Font weight of the start content. Defaults to `regular`. */ fontWeight?: 'regular' | 'medium'; /** If `true`, applies skeleton loading state. Inherits from parent List context when not set. */ skeleton?: SkeletonShow; }; declare function ItemStart({ className, fontSize, fontWeight, skeleton, children, ...rest }: ItemStartProps): import("react/jsx-runtime").JSX.Element; declare namespace ItemStart { var _supportsSpacingProps: boolean; } export default ItemStart;