Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published