@cerberus-design/react
Version:
The Cerberus Design React component library.
20 lines (17 loc) • 451 B
JavaScript
'use client';
import { jsx } from 'react/jsx-runtime';
import { cx } from 'styled-system/css';
import { field } from 'styled-system/recipes';
function FieldStartIndicator(props) {
const styles = field();
if (!props.children) return null;
return /* @__PURE__ */ jsx(
"span",
{
...props,
"data-part": "start-indicator",
className: cx(props.className, styles.startIndicator)
}
);
}
export { FieldStartIndicator };