babel-plugin-transform-react-jsx-props

    2.0.0 • Public • Published

    babel-plugin-transform-react-jsx-props

    Adds additional props to jsx snippets.

    Example

    In

    <sometag />
    

    Out

    <sometag prop="string" />
    

    Installation

    $ npm install babel-plugin-transform-react-jsx-props

    Usage

    Via Node API

    require("babel-core").transform("code", {
      plugins: [["transform-react-jsx-props", options]]
    });

    Keywords

    Install

    npm i babel-plugin-transform-react-jsx-props

    DownloadsWeekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • mdio
    • stefanhoth
    • roche_rg
    • koga_rg
    • ko
    • and
    • haeusler
    • olexiyk
    • researchgate-bot
    • danez