@atos6/disabler

0.0.0-rc.1 • Public • Published

@atos6/disabler

React component to disable all children inputs at same time with a single boolean attribute.

https://disabler.acts6.tech/

import { Disabler } from "@atos6/disabler"

return (
  <Disabler disabled={disabled}>
    {/* nested your input components here */}
  </Disabler>
)

Components

  • DisableUI Block user interactions
  • DisableInputs Block input change
  • Disabler Union of DisableUI + DisableInputs

/@atos6/disabler/

    Package Sidebar

    Install

    npm i @atos6/disabler

    Weekly Downloads

    0

    Version

    0.0.0-rc.1

    License

    UNLICENSED

    Unpacked Size

    4.36 kB

    Total Files

    8

    Last publish

    Collaborators

    • sabrinapsuzuki
    • neves
    • senhordrio