Skip to content

pixelass/jsx-create-element

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published