@@ -20,6 +20,7 @@ import Control.Monad.Identity.Trans (runIdentityT)
2020import Beta.DOM.Internal (CSS)
2121import Beta.DOM (class IsJSX)
2222import Data.Time.Duration (Milliseconds)
23+import Web.HTML.HTMLElement (HTMLElement)
2324
2425-- The type of the HoverCard component props
2526type RootProps =
@@ -92,7 +93,8 @@ arrow props kids = React.element arrowImpl
9293
9394-- The type of the portal component props
9495type HoverCardPortalProps =
95− {}
96+ { container :: Opt HTMLElement -- ^ The DOM element to render the portal into
97+ }
9698
9799-- The foreign component for the HoverCard portal
98100foreign import portalImpl :: forall a. ReactComponent { | a }