@cerberus-design/react
Version:
The Cerberus Design React component library.
19 lines (16 loc) • 422 B
JavaScript
'use client';
import { jsx } from 'react/jsx-runtime';
import { label } from 'styled-system/recipes';
import { cx } from 'styled-system/css';
import { FieldLabel } from '../field/primitives.js';
function Label(props) {
const { size, ...nativeProps } = props;
return /* @__PURE__ */ jsx(
FieldLabel,
{
...nativeProps,
className: cx(label({ size }), props.className)
}
);
}
export { Label };