Add decoding attribute to img tag (#28126)

This commit is contained in:
Luke Ivanchenko-Cooney
2018-08-16 03:46:54 +10:00
committed by John Reilly
parent 2d89067eb2
commit f4982fb3fc

View File

@@ -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;