Skip to content
Permalink
Browse files

Updated README

  • Loading branch information...
glenngijsberts committed Sep 8, 2018
1 parent 12d8710 commit c5989a5e2c0da7b474605bf43ecb9e134d807934
Showing with 21 additions and 0 deletions.
  1. +21 −0 README.md
@@ -90,3 +90,24 @@ Duration is how long it takes do one cycle of the skeleton animation.

Width of the skeleton. Useful when the skeleton is inside an inline element with
no width of its own.

## Height

`Height`: Number | String | null, defaults to null

```javascript
<Skeleton height={100} />
```

Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance
a card. Also needed for the prop `circle` (see below).

## Circle

`Circle`: Boolean | false, defaults to false

```javascript
<Skeleton circle={true} height={50} width={50} />
```

Prop for making the skeleton look like a circle, for when you are creating a user card with a profile picture for instance.

0 comments on commit c5989a5

Please sign in to comment.
You can’t perform that action at this time.