Merge pull request #14955 from gaspard/master

Add suppressContentEditableWarning to react
This commit is contained in:
Mine Starks
2017-03-09 11:20:06 -08:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -2042,6 +2042,7 @@ declare namespace React {
// React-specific Attributes
defaultChecked?: boolean;
defaultValue?: string | string[];
suppressContentEditableWarning?: boolean;
// Standard HTML Attributes
accept?: string;
+10
View File
@@ -33,3 +33,13 @@ StatelessComponent2.defaultProps = {
<div slot="Some Div"> Hello again! </div>
</g>
</svg>;
// React-specific Attributes
<div
defaultChecked
defaultValue="some value"
contentEditable
suppressContentEditableWarning
>
<b>foo</b>
</div>