react-pulsable
Version:
This is a simple and customizable react component library to add a pulsing/skeleton loading effect to your existing component.
13 lines (12 loc) • 424 B
TypeScript
import { ReactNode } from 'react';
import { type Props } from 'pulsable';
import 'pulsable/index.css';
export interface IPulsable extends Props {
children: ReactNode;
isLoading: boolean;
className?: string;
config?: Props;
[key: string]: any;
}
declare const Pulsable: ({ children, isLoading, className, config, ...props }: IPulsable) => import("react/jsx-runtime").JSX.Element;
export default Pulsable;