jsx-create-element

0.2.0 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i jsx-create-element

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • pixelass