1.0.2 • Published 5 years ago
@acodez/checkbox v1.0.2
@acodez/checkbox
React checkbox component.
Installation
npm install @acodez/checkboxProps API
| Property | Type | Required | Description |
|---|---|---|---|
| label | string | yes | label of the checkbox |
| name | string | yes | name attribute of checkbox |
| display | string | no | display checkboxes inline or block |
Usage
import CheckBox from "@acodez/checkbox";Example - Basic
<CheckBox name="name" label="I agree to terms and conditions" />