@cerberus-design/react
Version:
The Cerberus Design React component library.
43 lines (41 loc) • 859 B
JavaScript
import {
createCerberusPrimitive
} from "./chunk-YJRAJNYI.js";
// src/components/checkbox/primitives.tsx
import {
Checkbox
} from "@ark-ui/react";
import { checkbox } from "styled-system/recipes";
var { withSlotRecipe, withNoRecipe } = createCerberusPrimitive(checkbox);
var CheckboxRoot = withSlotRecipe(
Checkbox.Root,
"root"
);
var CheckboxLabel = withSlotRecipe(
Checkbox.Label,
"label"
);
var CheckboxControl = withSlotRecipe(
Checkbox.Control,
"control"
);
var CheckboxIndicator = withSlotRecipe(
Checkbox.Indicator,
"indicator"
);
var CheckboxHiddenInput = withNoRecipe(
Checkbox.HiddenInput
);
var CheckboxGroup = withSlotRecipe(
Checkbox.Group,
"group"
);
export {
CheckboxRoot,
CheckboxLabel,
CheckboxControl,
CheckboxIndicator,
CheckboxHiddenInput,
CheckboxGroup
};
//# sourceMappingURL=chunk-MMNUVODK.js.map