pretty-format is not the right way to get JSX
davidtheclark opened this issue · comments
It also modifies things other than React elements, e.g. objects become Object { .. }
. Replacing with https://github.com/algolia/react-element-to-jsx-string.
Transform SVG into JSX or React component modules
davidtheclark opened this issue · comments
It also modifies things other than React elements, e.g. objects become Object { .. }
. Replacing with https://github.com/algolia/react-element-to-jsx-string.