
Checkbox
Better looking alternative to native HTML checkbox
Basic usage
import { Checkbox as CheckboxView, useCheckbox } from '@atlasgroup/react-atlantic';const Checkbox = wrap(CheckboxView, useCheckbox);
Checkboxmust be wrapped withuseCheckboxto make the element interactive. But be awareuseCheckboxhook provides basic checkbox logic only such as handlingisCheckedprop, for more info see known bugs section
Sizes
Other props
Text positions
Known bugs
useCheckboxhook does not handle correctlyisPartiallyCheckedpropuseCheckboxhook does not pass props (e.g.size,horizontalPosition, ...)CheckboxViewcan not haveisPartiallyCheckedandisCheckedprop at the same time