UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

24 lines (19 loc) 595 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 FieldStartIndicator(props) { const styles = recipes.field(); if (!props.children) return null; return /* @__PURE__ */ jsxRuntime.jsx( "span", { ...props, "data-part": "start-indicator", className: css.cx(props.className, styles.startIndicator) } ); } exports.FieldStartIndicator = FieldStartIndicator;