React Placeholder
A light React component library to provide placeholders while content is loading. Suited for use with lazy and Suspense.
import React lazy Suspense from 'react';import MediaPlaceholder from 'react-pure-placeholder'; const MyComponent = ; React;
Install
npm install --save react-pure-placeholder
or
yarn add react-pure-placeholder