From 2a9aa1226147545b03aeff4d7176797610aa7f6d Mon Sep 17 00:00:00 2001 From: Andrii Nemchenko Date: Thu, 5 Jul 2018 16:52:15 +0300 Subject: [PATCH] export all types in React module --- src/React.purs | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/React.purs b/src/React.purs index 9776211..e7b2d0e 100644 --- a/src/React.purs +++ b/src/React.purs @@ -1,12 +1,12 @@ -- | This module defines foreign types and functions which wrap React's functionality. module React - ( ReactElement + ( TagName + , ReactElement , ReactComponent , ReactThis , ReactUnusedSnapshot - , TagName - + , SyntheticEventHandler , Render , ComponentWillMount , ComponentDidMount @@ -15,11 +15,15 @@ module React , ShouldComponentUpdate , ComponentWillUpdate , ComponentDidUpdate + , GetSnapshotBeforeUpdate , ComponentWillUnmount - - , ReactClass - , ReactRef - + , ReactSpecRequired + , ReactSpecUnsafe + , ReactSpecOptional + , ReactSpecShouldComponentUpdate + , ReactSpecAll + , ReactSpecPure + , ReactClassConstructor , class ReactComponentSpec , class ReactPureComponentSpec , component @@ -27,7 +31,8 @@ module React , pureComponent , pureComponentWithDerivedState , statelessComponent - + , ReactClass + , ReactRef , getProps , getState , setState @@ -36,10 +41,10 @@ module React , writeStateWithCallback , modifyState , modifyStateWithCallback - , forceUpdate , forceUpdateWithCallback - + , class ReactPropFields + , ReservedReactPropFields , createElement , unsafeCreateElement , createElementDynamic @@ -48,18 +53,12 @@ module React , unsafeCreateLeafElement , createElementTagName , createElementTagNameDynamic - - , SyntheticEventHandler - , Children , childrenToArray , childrenCount - - , class ReactPropFields , class IsReactElement , toElement , fragmentWithKey - , Context , ContextProvider , ContextConsumer