@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
10 lines (9 loc) • 438 B
TypeScript
import React 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: React.HTMLProps<HTMLElement>) => void;
};