Skip to content

Commit

Permalink
Export all types in React module (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellnobody1 authored and ethul committed Aug 24, 2018
1 parent a40834a commit e059deb
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions src/React.purs
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,19 +15,24 @@ module React
, ShouldComponentUpdate
, ComponentWillUpdate
, ComponentDidUpdate
, GetSnapshotBeforeUpdate
, ComponentWillUnmount

, ReactClass
, ReactRef

, ReactSpecRequired
, ReactSpecUnsafe
, ReactSpecOptional
, ReactSpecShouldComponentUpdate
, ReactSpecAll
, ReactSpecPure
, ReactClassConstructor
, class ReactComponentSpec
, class ReactPureComponentSpec
, component
, componentWithDerivedState
, pureComponent
, pureComponentWithDerivedState
, statelessComponent

, ReactClass
, ReactRef
, getProps
, getState
, setState
Expand All @@ -36,10 +41,10 @@ module React
, writeStateWithCallback
, modifyState
, modifyStateWithCallback

, forceUpdate
, forceUpdateWithCallback

, class ReactPropFields
, ReservedReactPropFields
, createElement
, unsafeCreateElement
, createElementDynamic
Expand All @@ -48,18 +53,12 @@ module React
, unsafeCreateLeafElement
, createElementTagName
, createElementTagNameDynamic

, SyntheticEventHandler

, Children
, childrenToArray
, childrenCount

, class ReactPropFields
, class IsReactElement
, toElement
, fragmentWithKey

, Context
, ContextProvider
, ContextConsumer
Expand Down

0 comments on commit e059deb

Please sign in to comment.