React Loading
A loading skeleton component built on React.
Installation
Use the package manager npm or yarn to install React Loading
npm install @yisheng90/react-loading --save
or
yarn add react-loading
Usage
import Skeleton from '@yisheng90/react-loading';
<Skeleton/>
Width

<Skeleton width={250}/>
<Skeleton width="250px"/>
<Skeleton width="5rem"/>
Height

<Skeleton height={25} />
<Skeleton height="25px" />
<Skeleton height="3rem" />
Rows

<Skeleton width={250} row={6} />
Circle

<Skeleton width={250} circle />