Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jan 21, 2024
1 parent 6d71c30 commit 6451e89
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/babel-plugin-jsx/README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ Default: `createVNode`

替换编译 JSX 表达式的时候使用的函数

#### resolveType

Type: `boolean`

Default: `false`

(**Experimental**) Infer component metadata from types (e.g. `props`, `emits`, `name`). This is an experimental feature and may not work in all cases.

## 表达式

### 内容
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-plugin-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ Default: `createVNode`

Replace the function used when compiling JSX expressions.

#### resolveType

Type: `boolean`

Default: `false`

(**Experimental**) Infer component metadata from types (e.g. `props`, `emits`, `name`). This is an experimental feature and may not work in all cases.

## Syntax

### Content
Expand Down

0 comments on commit 6451e89

Please sign in to comment.