@cerberus-design/react
Version:
The Cerberus Design React component library.
17 lines (14 loc) • 1.63 kB
JavaScript
import { switchRecipe } from 'styled-system/recipes';
import { createCerberusPrimitive } from '../../system/index.js';
import { SwitchHiddenInput as SwitchHiddenInput$1 } from '../../node_modules/.pnpm/@ark-ui_react@5.29.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js';
import { SwitchThumb as SwitchThumb$1 } from '../../node_modules/.pnpm/@ark-ui_react@5.29.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js';
import { SwitchControl as SwitchControl$1 } from '../../node_modules/.pnpm/@ark-ui_react@5.29.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/@ark-ui/react/dist/components/switch/switch-control.js';
import { SwitchLabel as SwitchLabel$1 } from '../../node_modules/.pnpm/@ark-ui_react@5.29.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/@ark-ui/react/dist/components/switch/switch-label.js';
import { SwitchRoot as SwitchRoot$1 } from '../../node_modules/.pnpm/@ark-ui_react@5.29.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/@ark-ui/react/dist/components/switch/switch-root.js';
const { withSlotRecipe, withNoRecipe } = createCerberusPrimitive(switchRecipe);
const SwitchRoot = withSlotRecipe(SwitchRoot$1, "root");
const SwitchLabel = withSlotRecipe(SwitchLabel$1, "label");
const SwitchControl = withSlotRecipe(SwitchControl$1, "control");
const SwitchThumb = withSlotRecipe(SwitchThumb$1, "thumb");
const SwitchHiddenInput = withNoRecipe(SwitchHiddenInput$1);
export { SwitchControl, SwitchHiddenInput, SwitchLabel, SwitchRoot, SwitchThumb };