Module

React.ReactTranstionGroup

Package
purescript-react-transition-group
Repository
coot/purescript-react-transition-group

#Component Source

data Component :: Type -> Type

#reactClassToComponent Source

reactClassToComponent :: forall props. ReactClass props -> Component props

#TransitionName Source

type TransitionName = { appear :: String, appearActive :: String, enter :: String, enterActive :: String, leave :: String, leaveActive :: String }

#CSSTransitionGroupProps Source

type CSSTransitionGroupProps props = { component :: Component props, transitionAppear :: Boolean, transitionAppearTimeout :: Int, transitionEnter :: Boolean, transitionEnterTimeout :: Int, transitionLeave :: Boolean, transitionLeaveTimeout :: Int, transitionName :: TransitionName }

#createCSSTransitionGroupElement Source

#TransitionGroupProps Source

type TransitionGroupProps props = { childFactory :: ReactElement -> ReactElement, component :: Component props, transitionAppear :: Boolean, transitionAppearTimeout :: Int, transitionEnter :: Boolean, transitionEnterTimeout :: Int, transitionLeave :: Boolean, transitionLeaveTimeout :: Int, transitionName :: TransitionName }

#ComponentTransitionMethod Source

type ComponentTransitionMethod props state eff = ReactThis props state -> Eff eff Unit -> Eff eff Unit

#ReactTransitionSpec Source

type ReactTransitionSpec props state eff = { componentDidAppear :: ComponentTransitionMethod props state eff, componentDidEnter :: ComponentTransitionMethod props state eff, componentDidLeave :: ComponentTransitionMethod props state eff, componentDidMount :: ComponentDidMount props state eff, componentDidUpdate :: ComponentDidUpdate props state eff, componentWillAppear :: ComponentTransitionMethod props state eff, componentWillEnter :: ComponentTransitionMethod props state eff, componentWillLeave :: ComponentTransitionMethod props state eff, componentWillMount :: ComponentWillMount props state eff, componentWillReceiveProps :: ComponentWillReceiveProps props state eff, componentWillUnmount :: ComponentWillUnmount props state eff, componentWillUpdate :: ComponentWillUpdate props state eff, displayName :: String, getInitialState :: GetInitialState props state eff, render :: Render props state eff, shouldComponentUpdate :: ShouldComponentUpdate props state eff }

#transitionSpec Source

transitionSpec :: forall eff state props. state -> Render props state eff -> ReactTransitionSpec props state eff

#transitionSpec' Source

transitionSpec' :: forall eff state props. GetInitialState props state eff -> Render props state eff -> ReactTransitionSpec props state eff

#createTransitionReactClass Source

createTransitionReactClass :: forall eff state props. ReactTransitionSpec props state eff -> ReactClass props