UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

14 lines (13 loc) 600 B
import { type Props as FlexItemProps } from '../flex/Item'; import { type IconIcon } from '../icon/Icon'; import type { SkeletonShow } from '../Skeleton'; export type ItemIconProps = Omit<FlexItemProps, 'children'> & { children: IconIcon; /** If `true`, applies skeleton loading state. Inherits from parent List context when not set. */ 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;