react-skeleton-builder
Version:
A versatile React component library for creating customizable skeleton loading animations with Chakra UI and TypeScript.
11 lines (10 loc) • 419 B
TypeScript
import { Context } from 'react';
import { Breakpoints, ColorThemes } from '../common/types';
import { SKELETON_ANIMATION_VARIANTS } from '../common/enums';
export interface ISkeletonGeneratorContext {
isDark?: boolean;
colorTheme: ColorThemes;
breakpoints: Breakpoints;
skeletonAnimation: SKELETON_ANIMATION_VARIANTS;
}
export declare const SkeletonGeneratorContext: Context<ISkeletonGeneratorContext>;