UNPKG

react-skeleton-builder

Version:

A versatile React component library for creating customizable skeleton loading animations with Chakra UI and TypeScript.

13 lines (12 loc) 514 B
import React from 'react'; import { Breakpoints, ColorThemes } from '../common/types'; import { SKELETON_ANIMATION_VARIANTS } from '../common/enums'; export declare const ReactSkeletonProvider: ({ children, value: { isDark, colorTheme, breakpoints, skeletonAnimation, }, }: Readonly<{ value: { skeletonAnimation?: SKELETON_ANIMATION_VARIANTS; isDark?: boolean; breakpoints?: Breakpoints; colorTheme?: ColorThemes; }; children: React.ReactNode; }>) => React.JSX.Element;