ISkeleton
A component that is used to hide components during uploading.
Examples
Circular avatar placeholder for loading states
const avatarSkeleton: ISkeleton = {
width: "40px",
height: "40px",
borderRadius: "50%"
}
Responsive content card loading placeholder
const cardSkeleton: ISkeleton = {
width: "100%",
height: "120px",
borderRadius: "8px"
}
Text line loading animation
const textSkeleton: ISkeleton = {
width: "80%",
height: "16px",
borderRadius: "4px"
}