Module
Radox.React.Internal.Types
- Package
- purescript-react-radox
- Repository
- danieljharvey/purescript-react-radox
#ReactRadoxContext Source
type ReactRadoxContext action state = { consumer :: forall localState props. ReactThis props localState -> ReactRadoxRenderMethod props state localState action -> Effect ReactElement, provider :: ReactClass { children :: Array ReactElement } }
#ReactRadoxRenderMethod Source
type ReactRadoxRenderMethod props state localState action = { dispatch :: action -> Effect Unit, getState :: Effect state, localState :: localState, props :: props, state :: state } -> ReactElement