Skip to content

Commit 9114650

Browse files
committed
Add defaults to Skeleton props
1 parent 9ca7978 commit 9114650

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

snaps/features/custom-ui/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,9 +1184,10 @@ Outputs an animated loading container.
11841184

11851185
#### Props
11861186

1187-
- `width`: `Array<number | string>` - (Optional) The width of the skeleton.
1188-
- `height`: `Array<number | string>` - (Optional) The height of the skeleton.
1187+
- `width`: `Array<number | string>` - (Optional) The width of the skeleton. Defaults to `"100%"`.
1188+
- `height`: `Array<number | string>` - (Optional) The height of the skeleton. Defaults to `22`.
11891189
- `borderRadius`: `string` - (Optional) The radius of the corners. Possible values are `"none"`, `"medium"` or `"full"`.
1190+
Defaults to `"medium"`.
11901191

11911192
#### Example
11921193

0 commit comments

Comments
 (0)