@cerberus-design/react
Version:
The Cerberus Design React component library.
20 lines (15 loc) • 851 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const jsxRuntime = require('react/jsx-runtime');
const factory = require('../../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.cjs');
const recipes = require('styled-system/recipes');
const index = require('../../system/index.cjs');
const { withRecipe } = index.createCerberusPrimitive(recipes.button);
const { withRecipe: withGroupRecipe } = index.createCerberusPrimitive(recipes.buttonGroup);
const ButtonRoot = withRecipe(factory.ark.button);
const ButtonGroupEl = withGroupRecipe(factory.ark.div);
function ButtonGroup(props) {
return /* @__PURE__ */ jsxRuntime.jsx(ButtonGroupEl, { ...props });
}
exports.ButtonGroup = ButtonGroup;
exports.ButtonRoot = ButtonRoot;