primereact
Version:
PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime
20 lines (15 loc) • 573 B
TypeScript
import * as React from 'react';
type SkeletonShapeType = 'rectangle' | 'circle';
type SkeletonAnimationType = 'wave' | 'none';
export interface SkeletonProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
shape?: SkeletonShapeType;
size?: string;
width?: string;
height?: string;
borderRadius?: string;
animation?: SkeletonAnimationType;
children?: React.ReactNode;
}
export declare class Skeleton extends React.Component<SkeletonProps, any> {
public getElement(): HTMLDivElement;
}