@atos6/disabler
v0.0.0-rc.1
Published
React component to disable all children inputs at same time with a single boolean attribute.
Downloads
4
Readme
@atos6/disabler
React component to disable all children inputs at same time with a single boolean attribute.
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