Skip to content

bernardo-bruning/html2react

Repository files navigation

html2react Build Status

My bedazzling module

Install

$ npm install html2react

Usage

const html2react = require("html2react");

html2react('<div className="row"></div>');
//=> '<Row></Row>'

API

html2react(input, options?)

input

Type: string

Lorem ipsum.

options

Type: object

foo

Type: boolean
Default: false

Lorem ipsum.

CLI

$ npm install --global html2react
$ html2react --help

  Usage
    html2react [input]

  Options
    --foo  Lorem ipsum [Default: false]

  Examples
    $ html2react
    unicorns & rainbows
    $ html2react ponies
    ponies & rainbows

About

WIP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published