Skip to content

Commit

Permalink
docs(Skeleton): update README (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeqviriouM authored Aug 17, 2023
1 parent 9c6f5a7 commit 8e36280
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions src/components/Skeleton/README.md
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` | |

0 comments on commit 8e36280

Please sign in to comment.