Module

Grain.Portal

Package
purescript-grain-portal
Repository
purescript-grain/purescript-grain-portal

#Props Source

type Props = { child :: VNode, rootZ :: Int }

The type of portal props.

  • rootZ: z-index of portal root.
  • child: A VNode in portal root.

#portal Source

portal :: Props -> VNode

Render a VNode to portal root.

The portal root will be created automatically.

Modules
Grain.Portal