• The default implementation for rendering the Tokens.Text by rendering:

    <>{children || raw}</>
    

    Parameters

    Returns ReactElement

    Remarks

    This defaults to using raw instead of the sanitized text because React already handles the sanitization. If the text is used, the generated text would display html entities instead of the correct string.

Generated using TypeDoc