Skip to content

Commit

Permalink
Update reference-react-component.md (reactjs#200)
Browse files Browse the repository at this point in the history
docs(cn): fix link in content/docs/reference-react-component.md
  • Loading branch information
zanllp authored and QC-L committed Apr 13, 2019
1 parent 53ab50e commit 5d60429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/reference-react-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,9 @@ CustomButton.defaultProps = {

### `props` {#props}

`this.props` 包括被该组件调用者定义的 props。欲了解 props 的详细介绍,请参阅[组件 & Props][组件和props](/docs/components-and-props.html)。
`this.props` 包括被该组件调用者定义的 props。欲了解 props 的详细介绍,请参阅[组件 & Props](/docs/components-and-props.html)

需特别注意,`this.props.children` 是一个特殊的 prop,通常由 JSX 表达式中的子组件组成,而不是由组件本身定义
需特别注意,`this.props.children` 是一个特殊的 prop,通常由 JSX 表达式中的子组件组成,而非组件本身定义

### `state` {#state}

Expand Down

0 comments on commit 5d60429

Please sign in to comment.