Browse Source

Add PropTypes.symbol to reusable components doc (#7171)

main
Samuel Reed 9 years ago
committed by Dan Abramov
parent
commit
7c4a139e05
  1. 1
      docs/05-reusable-components.it-IT.md
  2. 1
      docs/05-reusable-components.ja-JP.md
  3. 1
      docs/05-reusable-components.ko-KR.md
  4. 1
      docs/05-reusable-components.md
  5. 1
      docs/05-reusable-components.zh-CN.md

1
docs/05-reusable-components.it-IT.md

@ -24,6 +24,7 @@ React.createClass({
optionalNumber: React.PropTypes.number,
optionalObject: React.PropTypes.object,
optionalString: React.PropTypes.string,
optionalSymbol: React.PropTypes.symbol,
// Tutto ciò che può essere mostrato: numeri, stringhe, elementi, o un array
// (o frammento) contenente questi tipi.

1
docs/05-reusable-components.ja-JP.md

@ -23,6 +23,7 @@ React.createClass({
optionalNumber: React.PropTypes.number,
optionalObject: React.PropTypes.object,
optionalString: React.PropTypes.string,
optionalSymbol: React.PropTypes.symbol,
// 何でもレンダリングできます。number、string、要素やそれらを含む配列など。
optionalNode: React.PropTypes.node,

1
docs/05-reusable-components.ko-KR.md

@ -23,6 +23,7 @@ React.createClass({
optionalNumber: React.PropTypes.number,
optionalObject: React.PropTypes.object,
optionalString: React.PropTypes.string,
optionalSymbol: React.PropTypes.symbol,
// 렌더링될 수 있는 모든 것: 숫자, 문자열, 요소
// 이것들을 포함하는 배열(이나 프래그먼트)

1
docs/05-reusable-components.md

@ -23,6 +23,7 @@ React.createClass({
optionalNumber: React.PropTypes.number,
optionalObject: React.PropTypes.object,
optionalString: React.PropTypes.string,
optionalSymbol: React.PropTypes.symbol,
// Anything that can be rendered: numbers, strings, elements or an array
// (or fragment) containing these types.

1
docs/05-reusable-components.zh-CN.md

@ -23,6 +23,7 @@ React.createClass({
optionalNumber: React.PropTypes.number,
optionalObject: React.PropTypes.object,
optionalString: React.PropTypes.string,
optionalSymbol: React.PropTypes.symbol,
// 所有可以被渲染的对象:数字,
// 字符串,DOM 元素或包含这些类型的数组(or fragment) 。

Loading…
Cancel
Save