@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
19 lines (18 loc) • 522 B
TypeScript
import { SkeletonProps } from '@mui/material/Skeleton';
export interface FakeTextProps extends Omit<SkeletonProps, 'animation'> {
/**
* @default 'wave'
* The animation. If false, the animation effect is disabled
*/
animation?: 'pulse' | 'wave' | false;
/**
* @default 1
* The number of fake line texts that will be rendered
*/
lines?: number;
/**
* @default false
* If set to true, the fake text will render on a Paper component
*/
onPaper?: boolean;
}