Module

ReactNative.Components.Modal

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

#AnimationType Source

#animationType Source

animationType :: { fade :: AnimationType, none :: AnimationType, slide :: AnimationType }

#Orientation Source

newtype Orientation

#OnRequestClose Source

#ModalProps Source

type ModalProps a eff = { android :: Prop { hardwareAccelerated :: Boolean, onRequestClose :: OnRequestClose eff }, animationType :: AnimationType, ios :: Prop { onOrientationChange :: EventHandler eff Orientation, supportedOrientations :: Array Orientation }, onShow :: UnitEventHandler eff, transparent :: Boolean, visible :: Boolean }

#modal' Source

modal' :: forall eff a. Prop (ModalProps a eff) -> Array ReactElement -> ReactElement