diff --git a/types/react/index.d.ts b/types/react/index.d.ts index d277c7e07f..68f3549683 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2259,6 +2259,7 @@ declare namespace React { // Other HTML properties supported by SVG elements in browsers role?: string; tabIndex?: number; + crossOrigin?: "anonymous" | "use-credentials" | ""; // SVG Specific attributes accentHeight?: number | string; diff --git a/types/react/test/elementAttributes.tsx b/types/react/test/elementAttributes.tsx index 01cc600c41..f55fabfd86 100644 --- a/types/react/test/elementAttributes.tsx +++ b/types/react/test/elementAttributes.tsx @@ -26,4 +26,5 @@ const testCases = [ , , , + , ];