Checkbox
This is helper text
Overrides helper text
1
2
3
4
5
6
7
8
9
10
11
import React from "react"
import { Checkbox } from "@creation-ui/react"
export const Example = () => (
<Checkbox
size={"md"}
error={""}
helperText={"This is helper text"}
label={"Label"}
/>
)
Component API
Prop | Default | Description |
size | md | sm | md | lg Size of the element |
label | — | string Input label |
indeterminate | — | string Should component display icon for the indeterminate state Often used as indication that not all options are selected on the list |
disabled | — | boolean Is disabled? |
enableFocusRing | — | boolean Should component display focus ring when `:focus` |