Closed
Description
const mySymbol = Symbol('foo');
console.log(reactElementToJsxString(<Button type={mySymbol} />));
It will output:
<Button type={Symbol(foo)} />
A valid JSX output could be:
<Button type={Symbol('foo')} />
See:
react-element-to-jsx-string/src/index.spec.js
Line 133 in 8a3144d