We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823fc83 commit 8b72395Copy full SHA for 8b72395
src/React/Icons.purs
@@ -2,11 +2,12 @@ module React.Icons (icon, icon_) where
2
3
import Prim.Row (class Union)
4
import React.Basic (JSX, element)
5
+import React.Icons.Fa (faCheck)
6
import React.Icons.Types (ReactIcon, PropsIcon)
7
import Unsafe.Coerce (unsafeCoerce)
8
9
icon :: forall a b. Union a b PropsIcon => ReactIcon -> Record a -> JSX
10
icon reactIcon props = element (unsafeCoerce reactIcon) props
11
-icon_ :: forall a b. Union a b PropsIcon => ReactIcon -> JSX
12
+icon_ :: ReactIcon -> JSX
13
icon_ reactIcon = icon reactIcon {}
0 commit comments