Wrapper

Wrapper

The parent container for all the parsed data. By default, the output is not wrapped inside any tag.

The element receives only text, which is an array of React nodes, as parameter and should return node type value.

ℹ️

Node Type Value is anything that can be rendered: numbers, strings, elements or an array.

Pre-Defined Syntax

	wrapper: (text) => text,