UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

28 lines (23 loc) 592 B
'use client'; 'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const jsxRuntime = require('react/jsx-runtime'); const css = require('styled-system/css'); const recipes = require('styled-system/recipes'); function FieldsetLabel(props) { const { size, usage, ...nativeProps } = props; return /* @__PURE__ */ jsxRuntime.jsx( "label", { ...nativeProps, className: css.cx( nativeProps.className, recipes.label({ size, usage }) ) } ); } exports.FieldsetLabel = FieldsetLabel;