Optional
optionalOptional flag.
If a template fragment is flagged as optional, The service will not require
the fragment's dataKey
to exist in templateData
. If a fragment is optional and its data
is missing, the fragment will be omitted quietly by the renderer.
Optional
styleCSS style properties of the fragment.
All the available custom template fragments support all of the React's inline style properties (with camelCase keys)
Note: "position: fixed" is disallowed as a fragment style.
Type of the template fragment.
Data key of the template fragment.
The data associated with this fragment will be looked up in
templateData
map with this key.Example: