Skip to content

Commit 9dbbbf7

Browse files
committed
Fix event functions
1 parent 5842a93 commit 9dbbbf7

File tree

4 files changed

+209
-156
lines changed

4 files changed

+209
-156
lines changed

src/React.purs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ module React
5959
, class IsReactElement
6060
, toElement
6161
, fragmentWithKey
62+
63+
, module React
6264
) where
6365

6466
import Prelude
@@ -69,6 +71,14 @@ import Control.Monad.Eff.Uncurried (EffFn2, runEffFn2)
6971

7072
import Data.Nullable (Nullable)
7173

74+
import React.SyntheticEvent
75+
( preventDefault
76+
, isDefaultPrevented
77+
, stopPropagation
78+
, isPropagationStopped
79+
, persist
80+
) as React
81+
7282
import Unsafe.Coerce (unsafeCoerce)
7383

7484
-- | Name of a tag.

0 commit comments

Comments
 (0)