UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

16 lines (15 loc) 751 B
import { type Props as FlexItemProps } from '../flex/Item'; import type { SkeletonShow } from '../Skeleton'; export type ItemCenterProps = FlexItemProps & { /** Font size of the center content. Defaults to `basis`. */ fontSize?: 'small' | 'basis'; /** Font weight of the center 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 ItemCenter({ className, fontSize, fontWeight, skeleton, children, ...rest }: ItemCenterProps): import("react/jsx-runtime").JSX.Element; declare namespace ItemCenter { var _supportsSpacingProps: boolean; } export default ItemCenter;