Module

ReactNative.Components.Navigator

Package
purescript-reactnative
Repository
doolse/purescript-reactnative

See Navigator

#Navigator Source

newtype Navigator r

#navigator' Source

navigator' :: forall o eff r. Subrow o (NavigatorPropsO r eff) => NavigatorProps r o -> ReactElement

Create a Navigator with the given props, initialRoute and scene renderer

#SceneRenderer Source

newtype SceneRenderer r

#SceneConfigurer Source

newtype SceneConfigurer r

#SceneConfig Source

#sceneConfig' Source

sceneConfig' :: forall r. (r -> Array r -> SceneConfig) -> SceneConfigurer r

#sceneConfig Source

#sceneConfigs Source

sceneConfigs :: { fadeAndroid :: SceneConfig, floatFromBottom :: SceneConfig, floatFromBottomAndroid :: SceneConfig, floatFromLeft :: SceneConfig, floatFromRight :: SceneConfig, horizontalSwipeJump :: SceneConfig, horizontalSwipeJumpFromLeft :: SceneConfig, horizontalSwipeJumpFromRight :: SceneConfig, pushFromRight :: SceneConfig, swipeFromLeft :: SceneConfig, verticalDownSwipeJump :: SceneConfig, verticalUpSwipeJump :: SceneConfig }

#sceneRenderer Source

sceneRenderer :: forall r. (r -> (Navigator r) -> ReactElement) -> SceneRenderer r

#getCurrentRoutes Source

getCurrentRoutes :: forall r. (Navigator r) -> Array r

#push Source

push :: forall eff r. (Navigator r) -> r -> Eff (state :: ReactState ReadWrite | eff) Unit

#pop Source

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

#jumpTo Source

jumpTo :: forall eff r. (Navigator r) -> r -> Eff (state :: ReactState ReadWrite | eff) Unit

#jumpForward Source

jumpForward :: forall eff r. (Navigator r) -> Eff (state :: ReactState ReadWrite | eff) Unit

#jumpBack Source

jumpBack :: forall eff r. (Navigator r) -> Eff (state :: ReactState ReadWrite | eff) Unit

#replace Source

replace :: forall eff r. (Navigator r) -> r -> Eff (state :: ReactState ReadWrite | eff) Unit