0.2.0 • Published 2 years ago

@vtex/babel-plugin-admin-ui-react v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@vtex/babel-plugin-admin-ui-react

Quick start

Install the plugin first:

yarn add -D @vtex/babel-plugin-admin-ui-react

Then add it to your babel configuration:

{
  "plugins": ["@vtex/babel-plugin-admin-ui-react"]
}

Features

  • Adds displayName to components created by jsx
import { jsx } from '@vtex/admin-ui-react'

const Box = jsx('div')()

      ↓ ↓ ↓ ↓ ↓ ↓

import { jsx } from '@vtex/admin-ui-react'

const Box = Object.assign(jsx('div')(), {
  displayName: 'Box',
})
0.2.1-test.0

2 years ago

0.3.0-canary.43

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

3 years ago