@cerberus-design/react
Version:
The Cerberus Design React component library.
15 lines (10 loc) • 444 B
JavaScript
'use client';
;
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const jsxRuntime = require('react/jsx-runtime');
const primitives = require('./primitives.cjs');
function HelperText(props) {
if (props.invalid) return null;
return /* @__PURE__ */ jsxRuntime.jsx(primitives.FieldHelperText, { "data-has-content": Boolean(props.children), children: props.children });
}
exports.HelperText = HelperText;