Skip to content

Export all types in React module #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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