@react-cmpt/rc-skeleton
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

rc-skeleton

Provide a placeholder while you wait for content to load, or to visualise content that doesn't exist yet.

Build Status

usage

yarn add @react-cmpt/rc-skeleton
import Skelenton from "@react-cmpt/rc-skeleton";

const Demo = () => {
  return (
    <Skelenton loading={loading} emptyData={data == null}>
      <div>content</div>
    </Skelenton>
  );
};

Dependencies (0)

    Dev Dependencies (14)

    Package Sidebar

    Install

    npm i @react-cmpt/rc-skeleton

    Weekly Downloads

    0

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    18

    Last publish

    Collaborators

    • wangcch