react-block-ui
    TypeScript icon, indicating that this package has built-in type declarations

    1.3.3 • Public • Published

    npm version Build Status Coverage Status

    react-block-ui

    Easy way to block the user from interacting with your UI.

    About

    This library contains easy to use components to prevent the user from interacting with the user interface based on some conditions.

    There is also a separate component which works with redux to help block and unblock automatically based on redux action types. See the ReduxBlockUi component for more details.

    Documentation

    See: https://availity.github.io/react-block-ui/

    Installation

    Install react-block-ui via NPM

    npm install --save react-block-ui react react-dom

    Import the components you need, example:

    import BlockUi from 'react-block-ui';
    import ReduxBlockUi from 'react-block-ui/redux'; // only for redux
    import reduxMiddleware from 'react-block-ui/reduxMiddleware'; // only for redux
    import from 'react-block-ui/style.css';

    Development

    Install dependencies:

    npm install

    Run examples at http://localhost:8080/ with webpack dev server:

    npm start

    Run tests:

    npm test

    Run tests & coverage report:

    npm test:coverage

    Watch tests:

    npm run test:watch

    Disclaimer

    Open source software components distributed or made available in the Availity Materials are licensed to Company under the terms of the applicable open source license agreements, which may be found in text files included in the Availity Materials.

    License

    MIT

    Install

    npm i react-block-ui

    DownloadsWeekly Downloads

    13,189

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    106 kB

    Total Files

    22

    Last publish

    Collaborators

    • dznjudo
    • availity-cicd-bot
    • tannerbyers
    • azeigler
    • coreycochran89
    • sharpie
    • robmcguinness
    • dnoler
    • jselden
    • cbaker1
    • twarner
    • gopro16
    • sepiac
    • gregmartdotin
    • hnicbaker
    • chrishavekost
    • jordan-a-young
    • thutto
    • pashatay