Skip to content

theonlyducks/react-block

Repository files navigation

React Block

Simple load integration blocking the UI

Version Project Size Dependencies Licence

Table of contents

Documentation

See

Getting started

Requirements

yarn add react react-dom

Installation

yarn add @theonlyducks/react-block

Usage

Example

import '@theonlyducks/react-block/dist/style.css';
import { BlockDuck } from "@theonlyducks/react-block";

<BlockDuck
    opacity={5}
    blocking={true}
>
    Hi!
</BlockDuck>

Development

Install

yarn

Start server listening https://localhost:3000

yarn start

Run test

yarn test

Coverage report

yarn test:coverage

License

MIT © The Only Ducks