Module

ReactNative.Components.Image

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

See Image

#backgroundImage Source

backgroundImage :: Styles -> ImageSource -> Array ReactElement -> ReactElement

Create a background image with give styles and source

Background images are simply normal images with children overalayed ontop

#backgroundImage' Source

backgroundImage' :: forall o. Optional o ImagePropsO => ImageProps o -> Array ReactElement -> ReactElement

Create a background image with props and source

Background images are simply normal images with children overalayed ontop

#image_ Source

image_ :: ImageSource -> ReactElement

Create an Image from source only

#image Source

image :: Styles -> ImageSource -> ReactElement

Create an Image with styles and source only

#image' Source

image' :: forall o. Optional o ImagePropsO => ImageProps o -> ReactElement

Create an Image with props and source

#ResizeMethod Source

#ImageProgressEvent Source

type ImageProgressEvent = { nativeEvent :: { loaded :: Number, total :: Number } }