From 7c4a139e054a2ad163a08de17b995bbbd9b1d3a2 Mon Sep 17 00:00:00 2001 From: Samuel Reed Date: Sat, 2 Jul 2016 14:54:47 -0500 Subject: [PATCH] Add PropTypes.symbol to reusable components doc (#7171) --- docs/05-reusable-components.it-IT.md | 1 + docs/05-reusable-components.ja-JP.md | 1 + docs/05-reusable-components.ko-KR.md | 1 + docs/05-reusable-components.md | 1 + docs/05-reusable-components.zh-CN.md | 1 + 5 files changed, 5 insertions(+) diff --git a/docs/05-reusable-components.it-IT.md b/docs/05-reusable-components.it-IT.md index e313ca65..16266777 100644 --- a/docs/05-reusable-components.it-IT.md +++ b/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. diff --git a/docs/05-reusable-components.ja-JP.md b/docs/05-reusable-components.ja-JP.md index 2fdfbb1c..57e7e8b7 100644 --- a/docs/05-reusable-components.ja-JP.md +++ b/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, diff --git a/docs/05-reusable-components.ko-KR.md b/docs/05-reusable-components.ko-KR.md index c89e7498..4ee605ba 100644 --- a/docs/05-reusable-components.ko-KR.md +++ b/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, // 렌더링될 수 있는 모든 것: 숫자, 문자열, 요소 // 이것들을 포함하는 배열(이나 프래그먼트) diff --git a/docs/05-reusable-components.md b/docs/05-reusable-components.md index 3861b93b..77440a49 100644 --- a/docs/05-reusable-components.md +++ b/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. diff --git a/docs/05-reusable-components.zh-CN.md b/docs/05-reusable-components.zh-CN.md index 479466b4..1ba8f3a0 100644 --- a/docs/05-reusable-components.zh-CN.md +++ b/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) 。