@cerberus-design/react
Version:
The Cerberus Design React component library.
13 lines (12 loc) • 335 B
JavaScript
// src/components/for/for.tsx
import { Fragment, jsx } from "react/jsx-runtime";
function For(props) {
if (!props.each || !props.each.length) {
return props.fallback || null;
}
return /* @__PURE__ */ jsx(Fragment, { children: props.each?.map(props.children) });
}
export {
For
};
//# sourceMappingURL=chunk-D2TQPEZQ.js.map