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
Bash

or

yarn add react-loading
Bash

Usage

import Skeleton from '@yisheng90/react-loading';

<Skeleton/>

Bash

Width

width

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

Height

width

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

Rows

width

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

Circle

width

    <Skeleton width={250} circle />
Bash

GitHub

🤚 A loading skeleton component built on React — Read More

Latest commit to the master branch on 9-17-2024
Download as zip