babel-plugin-transform-dot-notation-to-props

1.0.1 • Public • Published

babel-plugin-transform-dot-notation-to-props

Example

In

<Foo>
    <Foo.bar>
        <Baz />
    </Foo.bar>
</Foo>

Out

<Foo bar={<Baz />} />

Installation

npm install --save-dev babel-plugin-transform-dot-notation-to-props

Usage

.babelrc

{
  "plugins": ["babel-plugin-transform-dot-notation-to-props"]
}

Options

ignoreCapitalizedProps

boolean, defaults to false.

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-transform-dot-notation-to-props

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

4.84 kB

Total Files

3

Last publish

Collaborators

  • paveldymkov