Checkbox
import { Checkbox } from '@app/components/Checkbox'
Name
Description
Preview
checked
boolean
label
string
disabled
boolean
hasError
boolean
className
string
checkboxClassName
string
indicatorClassName
string
labelClassName
string
hitSlop
number
Location
You can find the source of the Checkbox
component in the following location:
- Checkbox.styled.tsx
Disclaimer - Automatic Docgen
🤖
These dynamic component docs were auto-generated with npm run regenerate-docs
. You can hook into automatic docgen by exporting getDocumentationProps
from a component file. You’ll want to provide example props from the ComponentProps zod schema, e.g:
Checkbox.styled.tsx
/* --- Docs ---------------------- */
export const getDocumentationProps = CheckboxProps.documentationProps('Checkbox')