UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

15 lines (10 loc) 374 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const jsxRuntime = require('react/jsx-runtime'); function For(props) { if (!props.each || !props.each.length) { return props.fallback || null; } return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: props.each?.map(props.children) }); } exports.For = For;