0.1.2 • Published 4 years ago

@react-cmpt/rc-skeleton v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

rc-skeleton

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

Build Status npm.io npm.io

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>
  );
};