Skip to main content

Transform()

Transform(__namedParameters): null | Element

Transform a string representation of React components before they are written to output. For example, you might want to apply a gradient to text, add a clickable link or create some text effects. These use cases can't accept React nodes as input, they are expecting a string. That's what component does, it gives you an output string of its child components and lets you transform it in any way.

Parameters

ParameterType

__namedParameters

TransformProps

Returns

null | Element