/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import type { StrictReactDOMProps } from './StrictReactDOMProps'; export type StrictReactDOMImageProps = Readonly< Omit< StrictReactDOMProps, keyof ({ alt?: null | undefined | string; crossOrigin?: null | undefined | ('anonymous' | 'use-credentials'); decoding?: null | undefined | ('async' | 'auto' | 'sync'); draggable?: null | undefined | boolean; fetchPriority?: null | undefined | ('high' | 'low' | 'auto'); height?: number; loading?: null | undefined | ('eager' | 'lazy'); onError?: any; onLoad?: any; referrerPolicy?: | null | undefined | ( | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' ); src?: string; srcSet?: string; width?: number; }) > & { alt?: null | undefined | string; crossOrigin?: null | undefined | ('anonymous' | 'use-credentials'); decoding?: null | undefined | ('async' | 'auto' | 'sync'); draggable?: null | undefined | boolean; fetchPriority?: null | undefined | ('high' | 'low' | 'auto'); height?: number; loading?: null | undefined | ('eager' | 'lazy'); onError?: any; onLoad?: any; referrerPolicy?: | null | undefined | ( | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url' ); src?: string; srcSet?: string; width?: number; } >;