1/**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 * @flow strict-local
8 * @format
9 */
10
11import type {ResolvedAssetSource} from './AssetSourceResolver';
12import type {ImageProps} from './ImageProps';
13import type {ViewProps} from '../Components/View/ViewPropTypes';
14import {ConditionallyIgnoredEventHandlers} from '../NativeComponent/ViewConfigIgnore';
15import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
16import type {
17  ColorValue,
18  DangerouslyImpreciseStyle,
19  ImageStyleProp,
20} from '../StyleSheet/StyleSheet';
21import Platform from '../Utilities/Platform';
22
23type Props = $ReadOnly<{
24  ...ImageProps,
25  ...ViewProps,
26
27  style?: ImageStyleProp | DangerouslyImpreciseStyle,
28
29  // iOS native props
30  tintColor?: ColorValue,
31
32  // Android native props
33  shouldNotifyLoadEvents?: boolean,
34  src?:
35    | ?ResolvedAssetSource
36    | ?$ReadOnlyArray<?$ReadOnly<{uri?: ?string, ...}>>,
37  headers?: ?{[string]: string},
38  defaultSrc?: ?string,
39  loadingIndicatorSrc?: ?string,
40}>;
41
42declare export default HostComponent<Props>;
43