Skip to content

Commit 6d229bf

Browse files
committed
update readme
1 parent ae3a493 commit 6d229bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.ZH-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class Foo extends React.Component {
374374
```
375375

376376
### <span id="toc-directives-x-model-hook">x-model-hook</span>
377-
`x-model-hook``x-model` 非常相似,区别在于 `x-model-hook` 用于使用了 **useState hook** 的函数组件,而 `x-model` 用于 class component
377+
`x-model-hook``x-model` 非常相似,区别在于 `x-model-hook` 用于使用了 *useState hook* 的函数组件,而 `x-model` 用于 *class component*
378378

379379
**例子:**
380380
```jsx harmony

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ yarn add --dev babel-plugin-react-directives
5252
}
5353
```
5454

55-
### <span id="toc-or-use-options">Plugin options</span>
55+
### <span id="toc-plugin-options">Plugin options</span>
5656

5757
```json
5858
{

0 commit comments

Comments
 (0)