mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 13:15:59 +08:00
Add decoding attribute to img tag (#28126)
This commit is contained in:
committed by
John Reilly
parent
2d89067eb2
commit
f4982fb3fc
1
types/react/index.d.ts
vendored
1
types/react/index.d.ts
vendored
@@ -1459,6 +1459,7 @@ declare namespace React {
|
||||
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
||||
alt?: string;
|
||||
crossOrigin?: "anonymous" | "use-credentials" | "";
|
||||
decoding?: "async" | "auto" | "sync";
|
||||
height?: number | string;
|
||||
sizes?: string;
|
||||
src?: string;
|
||||
|
||||
Reference in New Issue
Block a user