UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

25 lines (24 loc) 475 B
import { jsx as s } from "react/jsx-runtime"; import { c as a } from "./index-2NvaPZWc.mjs"; const i = ({ children: r, className: t, checkEmpty: e = !1, ...o }) => e && !r ? null : /* @__PURE__ */ s( "p", { "data-slot": "error", className: a( "text-destructive mt-1.5 mb-1 text-xs leading-none", "min-h-5", // min-h-5 guarantees consistent spacing between Form fields t ), ...o, children: r } ); export { i as E };