gulp-react
Converts HTML to JSX for use with React.
Install
$ npm install --save-dev gulp-html2jsx
Usage
var gulp = ;var html2jsx = ; gulp;
API
html2jsx(options)
options:
createClass: true outputClassName: 'AwesomeComponent'
Sample:
Hello
Get converted to:
var NewComponent = React;
License
MIT © Hemanth.HM