Files
react-content-loader/docs/usage.mdx
Danilo Woznica a04f788057 feat(codebase): react native support (#153)
re #148, re #137, re #106, re #89, re #16, re #6

* build(rollup): native bundle

* feat(native): stylized components

* build(typescript): react native check

* feat(typing): improves

* build(tsconfig): by environment

* test(web native): setup

* test(native): support

* docs(readme): native documentation
2019-09-25 13:41:59 +01:00

59 lines
779 B
Plaintext

---
name: Usage
route: /usage
---
import { Playground } from 'docz'
import ContentLoader, {
Facebook,
Instagram,
Code,
List,
BulletList,
} from '../src'
## Usage
## Presets
### Facebook Style Loader
<Playground>
<Facebook />
</Playground>
### Instagram Style Loader
<Playground>
<Instagram />
</Playground>
### Code Style Loader
<Playground>
<Code />
</Playground>
### List Style Loader
<Playground>
<List />
</Playground>
### BulletList Style Loader
<Playground>
<BulletList />
</Playground>
### Custom Loader
<Playground>
<ContentLoader>
<rect x="80" y="17" rx="4" ry="4" width="300" height="13" />
<rect x="82" y="44" rx="3" ry="3" width="250" height="10" />
<circle cx="35" cy="35" r="35" />
</ContentLoader>
</Playground>