@@ -135,7 +135,8 @@ type ArrowProps =
135135
136136foreign import arrowImpl ∷ ∀ a. ReactComponent { | a }
137137
138−arrow ∷ ∀ p. Coerce p ArrowProps ⇒ p → JSX
139−arrow props = React.element arrowImpl
140− $ (coerce props ∷ ArrowProps)
138+arrow ∷ ∀ p kids. IsJSX kids => Coerce p ArrowProps ⇒ p → kids -> JSX
139+arrow props kids = React.element arrowImpl
140+ $ (coerce props ∷ ArrowProps)# RB.build
141+ ( RB.insert (Proxy :: Proxy "children") kids)
141142