Skip to content

Commit e059deb

Browse files
tellnobody1ethul
authored andcommitted
Export all types in React module (#155)
1 parent a40834a commit e059deb

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

src/React.purs

+15-16
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-- | This module defines foreign types and functions which wrap React's functionality.
22

33
module React
4-
( ReactElement
4+
( TagName
5+
, ReactElement
56
, ReactComponent
67
, ReactThis
78
, ReactUnusedSnapshot
8-
, TagName
9-
9+
, SyntheticEventHandler
1010
, Render
1111
, ComponentWillMount
1212
, ComponentDidMount
@@ -15,19 +15,24 @@ module React
1515
, ShouldComponentUpdate
1616
, ComponentWillUpdate
1717
, ComponentDidUpdate
18+
, GetSnapshotBeforeUpdate
1819
, ComponentWillUnmount
19-
20-
, ReactClass
21-
, ReactRef
22-
20+
, ReactSpecRequired
21+
, ReactSpecUnsafe
22+
, ReactSpecOptional
23+
, ReactSpecShouldComponentUpdate
24+
, ReactSpecAll
25+
, ReactSpecPure
26+
, ReactClassConstructor
2327
, class ReactComponentSpec
2428
, class ReactPureComponentSpec
2529
, component
2630
, componentWithDerivedState
2731
, pureComponent
2832
, pureComponentWithDerivedState
2933
, statelessComponent
30-
34+
, ReactClass
35+
, ReactRef
3136
, getProps
3237
, getState
3338
, setState
@@ -36,10 +41,10 @@ module React
3641
, writeStateWithCallback
3742
, modifyState
3843
, modifyStateWithCallback
39-
4044
, forceUpdate
4145
, forceUpdateWithCallback
42-
46+
, class ReactPropFields
47+
, ReservedReactPropFields
4348
, createElement
4449
, unsafeCreateElement
4550
, createElementDynamic
@@ -48,18 +53,12 @@ module React
4853
, unsafeCreateLeafElement
4954
, createElementTagName
5055
, createElementTagNameDynamic
51-
52-
, SyntheticEventHandler
53-
5456
, Children
5557
, childrenToArray
5658
, childrenCount
57-
58-
, class ReactPropFields
5959
, class IsReactElement
6060
, toElement
6161
, fragmentWithKey
62-
6362
, Context
6463
, ContextProvider
6564
, ContextConsumer

0 commit comments

Comments
 (0)