diff --git a/react/index.d.ts b/react/index.d.ts index d3c254f875..c8ddc717c7 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -2042,6 +2042,7 @@ declare namespace React { // React-specific Attributes defaultChecked?: boolean; defaultValue?: string | string[]; + suppressContentEditableWarning?: boolean; // Standard HTML Attributes accept?: string; diff --git a/react/test/tsx.tsx b/react/test/tsx.tsx index 540c712596..1d6b683bcf 100644 --- a/react/test/tsx.tsx +++ b/react/test/tsx.tsx @@ -33,3 +33,13 @@ StatelessComponent2.defaultProps = {