Explorar o código

feat(types): add loading prop to iframe (#11767)

chirokas hai 1 ano
pai
achega
d86fe0ec00
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/runtime-dom/src/jsx.ts

+ 1 - 0
packages/runtime-dom/src/jsx.ts

@@ -453,6 +453,7 @@ export interface IframeHTMLAttributes extends HTMLAttributes {
   /** @deprecated */
   frameborder?: Numberish
   height?: Numberish
+  loading?: 'eager' | 'lazy'
   /** @deprecated */
   marginheight?: Numberish
   /** @deprecated */