@cerberus-design/react
Version:
The Cerberus Design React component library.
13 lines (10 loc) • 443 B
JavaScript
'use client';
import { jsx } from 'react/jsx-runtime';
import { useCerberusContext } from '../../context/cerberus.js';
import { NumberInputParts } from './parts.js';
function IncrementTrigger(props) {
const { icons } = useCerberusContext();
const { increment: ChevronUp } = icons;
return /* @__PURE__ */ jsx(NumberInputParts.IncrementTrigger, { ...props, children: /* @__PURE__ */ jsx(ChevronUp, {}) });
}
export { IncrementTrigger };