Skeleton
A placeholder preview for content before the data gets loaded, an alternative for spinners.
Usage
<Skeleton variant="circular" width={40} height={40} />
<Skeleton variant="rectangular" width={210} height={118} />
Props
note
Includes all View props.
Name | Type | Default | Description |
---|---|---|---|
LinearGradientComponent | React Component | Custom Linear Gradient Component | |
animation | none or pulse or wave | wave | Type of animation |
circle | boolean | show circular variant | |
height | number | 12 | Height of Skeleton View |
skeletonStyle | View Style | Custom style for skeleton gradient | |
width | number | 100% | Width of Skeleton View |