React content loading skeletons package
npm install --save react-loading-content-skeletons
yarn add react-loading-content-skeletons
import React, { Component } from 'react'
import { Text, Avatar, Thumbnail } from 'react-loading-content-skeletons'
import 'react-loading-content-skeletons/dist/index.css'
class Example extends Component {
render() {
return (
<>
<Avatar size='medium' />
<Thumbnail theme='light' />
<Text count={5} />
</>
)
}
}
Type | Size | count | Theme | Description |
---|---|---|---|---|
Avatar | medium large |
- | dark Light |
small is the default size light the default theme |
Thumbnail | small medium large |
- | dark light |
small is default size light the default theme |
Text | small medium large |
Number | dark light |
medium is default size light the default theme |
Create pull request and follow best practice
Rise new issue by following best practice
MIT © SimonImanigirimpuhwe