From 0c3841a9d818b5741dec197c92e5b15e74a39c5b Mon Sep 17 00:00:00 2001 From: Kaelig Deloumeau-Prigent Date: Thu, 9 Nov 2017 13:22:19 -0500 Subject: [PATCH 1/3] React v16: Add crossOrigin html attribute to the link element --- types/react/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 9134406735..6bddb6c379 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2795,6 +2795,7 @@ declare namespace React { sizes?: string; type?: string; as?: string; + crossOrigin?: string; } interface MapHTMLAttributes extends HTMLAttributes { From 65feecd9a126f0f01ee0a98fbafde6ff439c16d0 Mon Sep 17 00:00:00 2001 From: Kaelig Deloumeau-Prigent Date: Thu, 9 Nov 2017 13:23:37 -0500 Subject: [PATCH 2/3] React v15: Add crossOrigin html attribute to the link element --- types/react/v15/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react/v15/index.d.ts b/types/react/v15/index.d.ts index 19cd290c7b..3e17e0a9e6 100644 --- a/types/react/v15/index.d.ts +++ b/types/react/v15/index.d.ts @@ -2721,6 +2721,7 @@ declare namespace React { interface LinkHTMLAttributes extends HTMLAttributes { as?: string; + crossOrigin?: string; href?: string; hrefLang?: string; integrity?: string; From 759b981de1d240758692bb50570c81056786d6e2 Mon Sep 17 00:00:00 2001 From: Kaelig Deloumeau-Prigent Date: Thu, 9 Nov 2017 13:26:45 -0500 Subject: [PATCH 3/3] Alphabetically order props in LinkHTMLAttributes --- types/react/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 6bddb6c379..5d25f7eb7f 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -2787,6 +2787,8 @@ declare namespace React { } interface LinkHTMLAttributes extends HTMLAttributes { + as?: string; + crossOrigin?: string; href?: string; hrefLang?: string; integrity?: string; @@ -2794,8 +2796,6 @@ declare namespace React { rel?: string; sizes?: string; type?: string; - as?: string; - crossOrigin?: string; } interface MapHTMLAttributes extends HTMLAttributes {