Converts a React element into a custom HTML-like string representation.
If no label is provided, returns the string '<>'. Otherwise, renders the React element to static markup, transforms any dot:-prefixed tags by removing the prefix, and wraps the result in angle brackets.
Converts a React element into a custom HTML-like string representation.
If no label is provided, returns the string '<>'. Otherwise, renders the React element to static markup, transforms any
dot:
-prefixed tags by removing the prefix, and wraps the result in angle brackets.