Skip to content

Commit 8b72395

Browse files
committed
Bugfix for icon_ helper
1 parent 823fc83 commit 8b72395

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/React/Icons.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ module React.Icons (icon, icon_) where
22

33
import Prim.Row (class Union)
44
import React.Basic (JSX, element)
5+
import React.Icons.Fa (faCheck)
56
import React.Icons.Types (ReactIcon, PropsIcon)
67
import Unsafe.Coerce (unsafeCoerce)
78

89
icon :: forall a b. Union a b PropsIcon => ReactIcon -> Record a -> JSX
910
icon reactIcon props = element (unsafeCoerce reactIcon) props
1011

11-
icon_ :: forall a b. Union a b PropsIcon => ReactIcon -> JSX
12+
icon_ :: ReactIcon -> JSX
1213
icon_ reactIcon = icon reactIcon {}

0 commit comments

Comments
 (0)