import SkeletonProvider from './components/SkeletonProvider';
import SkeletonItem from './components/SkeletonItem';

type SkeletonType = typeof SkeletonProvider & {
  Item: typeof SkeletonItem;
};

(SkeletonProvider as SkeletonType).Item = SkeletonItem;

export const Skeleton = SkeletonProvider as SkeletonType;
