Export ImageURISource type (#21305)
Summary: Exporting ImageURISource because we needed to use it in a custom Image component. This should be a case for other people too since handling of `number` ImageSources and `ImageURISource` ImageSources are way different. Release Notes: -------------- [GENERAL] [ENHANCEMENT] [Image] - Export "ImageURISource" Flow type Pull Request resolved: https://github.com/facebook/react-native/pull/21305 Differential Revision: D10024160 Pulled By: rsnara fbshipit-source-id: f074148345285217014b6ba6735cfdf3508563b5
This commit is contained in:
parent
6b892141cc
commit
783cb8e4a6
|
@ -14,7 +14,7 @@
|
|||
// that might have more keys. This also has to be inexact to support taking
|
||||
// instances of classes like FBIcon.
|
||||
// https://fburl.com/8lynhvtw
|
||||
type ImageURISource = $ReadOnly<{
|
||||
export type ImageURISource = $ReadOnly<{
|
||||
uri?: ?string,
|
||||
bundle?: ?string,
|
||||
method?: ?string,
|
||||
|
|
Loading…
Reference in New Issue