@cerberus-design/react
Version:
The Cerberus Design React component library.
17 lines (16 loc) • 393 B
JavaScript
// src/components/show/show.tsx
import { Fragment, jsx } from "react/jsx-runtime";
function Show(props) {
const { when, children, fallback } = props;
if (when) {
return /* @__PURE__ */ jsx(Fragment, { children });
}
if (fallback) {
return /* @__PURE__ */ jsx(Fragment, { children: fallback });
}
return null;
}
export {
Show
};
//# sourceMappingURL=chunk-NUXMADXV.js.map