HTTPS SSH

jsx-create-element

GitHub license
Travis David David
GitHub issues GitHub forks GitHub stars
js-standard-style Standard Version Commitizen friendly

Demo

Demo on Codepen

Usage

npm install --save-dev jsx-create-element
/** @jsx jsx.createElement */
import jsx from 'jsx-create-element'

const className = 'foobar'

const hello = name => (
  <div className={className}>
    <h1>Hello <span>{name}</span></h1>
  </div>
)

jsx.render(hello('World'), document.body)