BooleanInput
A checkbox input.
Props
-
name
(str): name attribute -
label
(str): label text (html allowed) -
value
(bool): initial value -
onValueChange
(func): function called with the value when it changes
Dependents:
privacy-checkbox
This package has been deprecated
Author message:
[DEPRECATED] - This package has been replaced by @hashicorp/react-checkbox-input. This package is deprecated, and will no longer be maintained. Please check the hashicorp/react-components repository for a list of maintained packages, and file an issue if you need a replacement for this package.
A checkbox input.
name
(str): name attributelabel
(str): label text (html allowed)value
(bool): initial valueonValueChange
(func): function called with the value when it changesprivacy-checkbox
npm i @hashicorp/react-boolean-input
5
1.0.5
none
29.4 kB
11