@cerberus-design/react
Version:
The Cerberus Design React component library.
23 lines (18 loc) • 1.01 kB
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const react = require('@ark-ui/react');
const recipes = require('styled-system/recipes');
const index = require('../../system/index.cjs');
const { withSlotRecipe, withNoRecipe } = index.createCerberusPrimitive(recipes.checkbox);
const CheckboxRoot = withSlotRecipe(react.Checkbox.Root, "root");
const CheckboxLabel = withSlotRecipe(react.Checkbox.Label, "label");
const CheckboxControl = withSlotRecipe(react.Checkbox.Control, "control");
const CheckboxIndicator = withSlotRecipe(react.Checkbox.Indicator, "indicator");
const CheckboxHiddenInput = withNoRecipe(react.Checkbox.HiddenInput);
const CheckboxGroup = withSlotRecipe(react.Checkbox.Group, "group");
exports.CheckboxControl = CheckboxControl;
exports.CheckboxGroup = CheckboxGroup;
exports.CheckboxHiddenInput = CheckboxHiddenInput;
exports.CheckboxIndicator = CheckboxIndicator;
exports.CheckboxLabel = CheckboxLabel;
exports.CheckboxRoot = CheckboxRoot;