mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
58a6cf840a
Summary: Cleans up unused type imports from the codebase. ./scripts/typedjs/flow/runner --config /data/sandcastle/boxes/www/scripts/typedjs/flow/runner.config.xplat.js codemod local/removeUnusedTypeImports /data/sandcastle/boxes/fbsource/xplat/js drop-conflicts bypass-lint bypass_size_limit Reviewed By: GijsWeterings Differential Revision: D42556504 fbshipit-source-id: 05885edccb686390f29f69c2f2049bf650a1b8c5
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
/**
|
|
* 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.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
*/
|
|
|
|
import type {ResolvedAssetSource} from './AssetSourceResolver';
|
|
import type {ImageProps} from './ImageProps';
|
|
import type {ViewProps} from '../Components/View/ViewPropTypes';
|
|
import {ConditionallyIgnoredEventHandlers} from '../NativeComponent/ViewConfigIgnore';
|
|
import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
|
|
import type {
|
|
ColorValue,
|
|
DangerouslyImpreciseStyle,
|
|
ImageStyleProp,
|
|
} from '../StyleSheet/StyleSheet';
|
|
import Platform from '../Utilities/Platform';
|
|
|
|
type Props = $ReadOnly<{
|
|
...ImageProps,
|
|
...ViewProps,
|
|
|
|
style?: ImageStyleProp | DangerouslyImpreciseStyle,
|
|
|
|
// iOS native props
|
|
tintColor?: ColorValue,
|
|
|
|
// Android native props
|
|
shouldNotifyLoadEvents?: boolean,
|
|
src?:
|
|
| ?ResolvedAssetSource
|
|
| ?$ReadOnlyArray<?$ReadOnly<{uri?: ?string, ...}>>,
|
|
headers?: ?{[string]: string},
|
|
defaultSrc?: ?string,
|
|
loadingIndicatorSrc?: ?string,
|
|
}>;
|
|
|
|
declare export default HostComponent<Props>;
|