1.1.0 • Published 2 years ago
@theonlyducks/react-block v1.1.0
React Block
Simple load integration blocking the UI
Table of contents
Documentation
See
Getting started
Requirements
yarn add react react-domInstallation
yarn add @theonlyducks/react-blockUsage
Example
import '@theonlyducks/react-block/dist/style.css';
import { BlockDuck } from "@theonlyducks/react-block";
<BlockDuck
    opacity={5}
    blocking={true}
>
    Hi!
</BlockDuck>Development
Install
yarnStart server listening https://localhost:3000
yarn startRun test
yarn testCoverage report
yarn test:coverage