UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

15 lines (12 loc) 688 B
import { jsx } from 'react/jsx-runtime'; import { ark } 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/factory.js'; import { buttonGroup, button } from 'styled-system/recipes'; import { createCerberusPrimitive } from '../../system/index.js'; const { withRecipe } = createCerberusPrimitive(button); const { withRecipe: withGroupRecipe } = createCerberusPrimitive(buttonGroup); const ButtonRoot = withRecipe(ark.button); const ButtonGroupEl = withGroupRecipe(ark.div); function ButtonGroup(props) { return /* @__PURE__ */ jsx(ButtonGroupEl, { ...props }); } export { ButtonGroup, ButtonRoot };