react-element-to-string
v1.0.2
Published
Convert a ReactElement into a nice string useful for debugging
Downloads
25,477
Readme
react-element-to-string
Convert a ReactElement into a nice string useful for debugging
Install
npm install react-element-to-string
Usage
var ReactElementToString = require('react-element-to-string');
ReactElementToString(<div test1="test" />));
// => <div test1="test" />
License
MIT Licensed
Originally created by Alan Souza as jsx-to-string
.