A component to create JSX from text by replacing custom tags and wrapping inner text in passed components.

Parameters:
NameTypeDescription
propsobject

Component props.

Properties
NameTypeDescription
closingSymbolstring

The closing symbol for the custom tags.

openingSymbolstring

The opening symbol for the custom tags.

textstring

The text to process.

tokensArray

The tokens to replace in the text.

Since
  • 3.1.0
Returns:

The JSXFromText component.

Type: 
JSX.Element