UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

10 lines (9 loc) 445 B
import type { HTMLProps } from 'react'; import type { SkeletonMethods } from '../skeleton/SkeletonHelper'; import type { SkeletonShow } from '../skeleton/Skeleton'; export default function useStatSkeleton(skeleton?: SkeletonShow, method?: SkeletonMethods): { hasSkeleton: boolean; context: import("../../shared/Context").ContextProps; skeletonClass: any; applySkeletonAttributes: (attributes: HTMLProps<HTMLElement>) => void; };