Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
showlotus committed Jan 4, 2024
1 parent 2f4e550 commit 05986cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/babel-plugin-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,20 @@ function useFn() {

输出

- 不指定 `customKey`,默认为 `"BABEL_JSX_PLUGIN"`
- 不指定 `customKey`,默认为 `"BABEL_PLUGIN_JSX"`

```js
import { Fragment, Select } from '.';
function useFn() {
return {
key: 'BABEL_JSX_PLUGIN_1',
key: 'BABEL_PLUGIN_JSX_1',
props: {
title: 'name',
showOverflow: true,
},
slots: {
default: {
key: 'BABEL_JSX_PLUGIN_0',
key: 'BABEL_PLUGIN_JSX_0',
component: Select,
},
},
Expand Down

0 comments on commit 05986cc

Please sign in to comment.