Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/base/src/Skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export interface SkeletonProps extends ViewProps {
/**
* Width of Skeleton View
*/
width?: number;
width?: ViewStyle['width'];
/**
* Height of Skeleton View
* @default 12
*/
height?: number;
height?: ViewStyle['height'];
/**
* Type of animation
*/
Expand Down
4 changes: 2 additions & 2 deletions website/docs/components/Skeleton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ Includes all [View](https://reactnative.dev/docs/view#props) props.
| `LinearGradientComponent` | React Component | | Custom Linear Gradient Component |
| `animation` | `none` \| `pulse` \| `wave` | `pulse` | Type of animation |
| `circle` | boolean | | show circular variant |
| `height` | number | `12` | Height of Skeleton View |
| `height` | `string` \| `number` | `12` | Height of Skeleton View |
| `skeletonStyle` | View Style | | Custom style for skeleton gradient |
| `width` | number | `100%` | Width of Skeleton View |
| `width` | `string` \| `number` | `100%` | Width of Skeleton View |

</div>