UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

23 lines (18 loc) 565 B
'use client'; 'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const jsxRuntime = require('react/jsx-runtime'); const recipes = require('styled-system/recipes'); const css = require('styled-system/css'); const primitives = require('../field/primitives.cjs'); function Label(props) { const { size, ...nativeProps } = props; return /* @__PURE__ */ jsxRuntime.jsx( primitives.FieldLabel, { ...nativeProps, className: css.cx(recipes.label({ size }), props.className) } ); } exports.Label = Label;