Skeleton
A placeholder preview for content before the data gets loaded, an alternative for spinners.
Usage
<Skeleton circle width={40} height={40} />
<Skeleton 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 | pulse | 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 |