mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
React-native: export ImageURISource
Useful for passing around the struct before giving to to the \<Image> component.
This commit is contained in:
6
types/react-native/index.d.ts
vendored
6
types/react-native/index.d.ts
vendored
@@ -3123,9 +3123,9 @@ export interface ImageStyle extends FlexStyle, TransformsStyle, ShadowStyleIOS {
|
||||
}
|
||||
|
||||
/*
|
||||
* @see https://github.com/facebook/react-native/blob/master/Libraries/Image/ImageSourcePropType.js
|
||||
*/
|
||||
interface ImageURISource {
|
||||
* @see https://github.com/facebook/react-native/blob/master/Libraries/Image/ImageSourcePropType.js
|
||||
*/
|
||||
export interface ImageURISource {
|
||||
/**
|
||||
* `uri` is a string representing the resource identifier for the image, which
|
||||
* could be an http address, a local file path, or the name of a static image
|
||||
|
||||
Reference in New Issue
Block a user