UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

16 lines (15 loc) 690 B
import type { FlexItemAllProps as FlexItemProps } from '../flex/Item'; import { type IconIcon } from '../icon/Icon'; import type { SkeletonShow } from '../Skeleton'; export type ItemIconProps = Omit<FlexItemProps, 'children'> & { children: IconIcon; /** * 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; }; declare function ItemIcon({ children, className, skeleton, ...rest }: ItemIconProps): import("react/jsx-runtime").JSX.Element; declare namespace ItemIcon { var _supportsSpacingProps: boolean; } export default ItemIcon;