react: add fetchPriority to LinkHTMLAttributes (#65726)

* `react`: add `fetchPriority` to `LinkHTMLAttributes`

* Fix casing
This commit is contained in:
Oliver Joseph Ash
2023-06-10 08:51:18 +01:00
committed by GitHub
parent 96daada173
commit a578a934d7
5 changed files with 5 additions and 0 deletions

View File

@@ -2360,6 +2360,7 @@ declare namespace React {
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
as?: string | undefined;
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
fetchpriority?: "high" | "low" | "auto";
href?: string | undefined;
hrefLang?: string | undefined;
integrity?: string | undefined;

View File

@@ -2328,6 +2328,7 @@ declare namespace React {
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
as?: string | undefined;
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
fetchpriority?: "high" | "low" | "auto";
href?: string | undefined;
hrefLang?: string | undefined;
integrity?: string | undefined;

View File

@@ -2947,6 +2947,7 @@ declare namespace React {
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
as?: string | undefined;
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
fetchpriority?: "high" | "low" | "auto";
href?: string | undefined;
hrefLang?: string | undefined;
integrity?: string | undefined;

View File

@@ -2245,6 +2245,7 @@ declare namespace React {
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
as?: string | undefined;
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
fetchpriority?: "high" | "low" | "auto";
href?: string | undefined;
hrefLang?: string | undefined;
integrity?: string | undefined;

View File

@@ -2244,6 +2244,7 @@ declare namespace React {
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
as?: string | undefined;
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
fetchpriority?: "high" | "low" | "auto";
href?: string | undefined;
hrefLang?: string | undefined;
integrity?: string | undefined;