Module

ReactNative.Components.NavigatorIOS

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

See NavigatorIOS

#NavigatorIOS Source

newtype NavigatorIOS

#RouteDefaults Source

type RouteDefaults r = { barTintColor :: Color, navigationBarHidden :: Boolean, shadowHidden :: Boolean, tintColor :: Color, titleTextColor :: Color, translucent :: Boolean | r }

#Route Source

type Route eff props = RouteDefaults (backButtonIcon :: ImageSource, backButtonTitle :: String, component :: { navigator :: NavigatorIOS | props } -> ReactElement, leftButtonIcon :: ImageSource, leftButtonSystemIcon :: String, leftButtonTitle :: String, onLeftButtonPress :: UnitEventHandler eff, onRightButtonPress :: UnitEventHandler eff, passProps :: Record props, rightButtonIcon :: ImageSource, rightButtonSystemIcon :: String, rightButtonTitle :: String, title :: String, titleImage :: ImageSource, wrapperStyle :: Styles)

#NavigatorIOSProps Source

type NavigatorIOSProps = RouteDefaults (initialRoute :: forall props eff. Route eff props, interactivePopGestureEnabled :: Boolean, itemWrapperStyle :: Styles, ref :: RefType NavigatorIOS, style :: Styles)

#mkRoute Source

mkRoute :: forall eff props. { component :: { navigator :: NavigatorIOS | props } -> ReactElement, passProps :: Record props, title :: String } -> Route eff props

#mkRoute' Source

mkRoute' :: forall eff props. { component :: { navigator :: NavigatorIOS | props } -> ReactElement, passProps :: Record props, title :: String } -> Prop (Route eff props) -> Route eff props

#navigatorIOS' Source

navigatorIOS' :: forall props eff. Prop (NavigatorIOSProps) -> Route eff props -> ReactElement

Create a NavigatorIOS with the given props and initialRoute

#push Source

push :: forall props eff. NavigatorIOS -> Route eff props -> Eff (state :: ReactState ReadWrite | eff) Unit

#pop Source

pop :: forall eff. NavigatorIOS -> Eff (state :: ReactState ReadWrite | eff) Unit