• This repository has been archived on 21/Feb/2023
  • Stars
    star
    300
  • Rank 138,870 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Deprecation Notice: This package is no longer supported. Please switch to @availity/block-ui.

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

More Repositories

1

availity-reactstrap-validation

Easy to use React validation components compatible for reactstrap.
JavaScript
191
star
2

availity-react

React components using Availity UIKit and Bootstrap 4
JavaScript
52
star
3

availity-uikit

Availity UI Kit powered by Bootstrap 4
SCSS
44
star
4

availity-workflow

Upgradable workflow for Availity boilerplate projects
JavaScript
28
star
5

sdk-js

JavaScript SDK for Availity
JavaScript
13
star
6

availity-angular

Availity Angular SDK
JavaScript
12
star
7

availity-ekko

Mock server simulating API rest services
JavaScript
10
star
8

availity-toolkit

Starter project for Angular apps on the Availity platform
JavaScript
7
star
9

eslint-config-availity

Shareable ESLint config for Availity projects
JavaScript
6
star
10

design-tokens

Availity Design Tokens repository used to transform tokens into css modules, scss variables or tech specific variables using Style Dictionary
JavaScript
4
star
11

gatsby-theme-availity

Inspired By Apollo's Gatsby Theme built with Reactstrap using some Availity Flair
JavaScript
4
star
12

availity-starter-typescript

Starter React Application using @availity/workflow with TypeScript
TypeScript
3
star
13

metalsmith-mock

Generate mock data for Metalsmith HTML templates
JavaScript
3
star
14

availity-limo

[DEPRECATED] Shared code across Availity projects
JavaScript
2
star
15

textcomplies

JQuery plugin that checks text input against a set of rules you specify and provides feedback in real time.
JavaScript
2
star
16

availity-starter-react

Starter React Application using @availity/workflow
JavaScript
2
star
17

availity-pdm

Provider Data Management Schema
1
star
18

availity-mobx-reactstrap-validation

Mobx wrapper lib around availity-reactstrap-validation
JavaScript
1
star
19

element

React components for the Availity design system Element
TypeScript
1
star
20

availity-starter-wizard

JavaScript
1
star