@teste-ui/checkbox
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

@teste-ui/checkbox

Checkbox component is used in forms when a user needs to select multiple values from several options.

Installation

yarn add @teste-ui/checkbox

# or

npm i @teste-ui/checkbox

Import component

import { Checkbox } from "@teste-ui/checkbox"

Usage

<Checkbox>This is a checkbox</Checkbox>

CheckboxGroup

CheckboxGroup is used to bind multiple checkboxes into a group, and it indicates whether one or more options are selected.

<CheckboxGroup defaultValue={["one", "two"]}>
  <Checkbox value="one">One</Checkbox>
  <Checkbox value="two">Two</Checkbox>
  <Checkbox value="three">Three</Checkbox>
</CheckboxGroup>

Resources

Package Sidebar

Install

npm i @teste-ui/checkbox

Weekly Downloads

1

Version

2.1.3

License

MIT

Unpacked Size

121 kB

Total Files

20

Last publish

Collaborators

  • benits