Generator
The Generator allows your users to iterate through lists and groups of data and create a piece of NOML for each item iterated on.
1
<Generator
2
dataRef={content.values}
3
item={(value, m) => (
4
<div>{value}</div>
5
)}
6
/>
Copied!

Generator Tag Props:

  • dataRef: DataLocator - the data-element storing the Generator's configuration
  • item: anonymous arrow function - used to create a collection item
Copy link