-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Skeleton): update README (#909)
- Loading branch information
1 parent
9c6f5a7
commit 8e36280
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
## Skeleton | ||
<!--GITHUB_BLOCK--> | ||
|
||
Component for illusion of fast loading. | ||
# Skeleton | ||
|
||
### PropTypes | ||
<!--/GITHUB_BLOCK--> | ||
|
||
| Property | Type | Required | Default | Description | | ||
| :-------- | :------- | :------- | :------ | :------------------------------------------ | | ||
| className | `String` | | | Class name to customize size component size | | ||
```tsx | ||
import {Skeleton} from '@gravity-ui/uikit'; | ||
``` | ||
|
||
The Skeleton component displays a placeholder preview of your content before the data gets loaded to reduce load-time frustration. | ||
|
||
## Properties | ||
|
||
| Property | Description | Default | | ||
| :-------- | :----------------------------------------------------- | :------ | | ||
| style | Custom CSS properties for root element `CSSProperties` | | | ||
| className | Custom CSS class for root element `string` | | |