UNPKG

grepsr-ui-elements

Version:

30 lines (29 loc) 908 B
import PropTypes from "prop-types"; import { ReactElement } from "react"; interface SkeletonProps { animation?: "pulse" | "wave" | false; component?: ReactElement | string | any; height: number | string; variant?: "circular" | "rectangular" | "rounded" | "text"; width: number | string; backgroundColor?: string; } export { SkeletonProps }; declare const GrepsrSkeleton: { (props: SkeletonProps): JSX.Element; defaultProps: { animation: string; component: string; height: number; variant: string; width: number; }; propTypes: { animation: PropTypes.Requireable<string>; component: PropTypes.Requireable<PropTypes.ReactComponentLike>; height: PropTypes.Validator<number>; width: PropTypes.Validator<number>; variant: PropTypes.Requireable<string>; }; }; export default GrepsrSkeleton;