napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Cli.Web.Navbar

Documentation

newtype Title #

Constructors

Title Text 

data NavBar #

Constructors

NavBar 

Instances

Instances details
Generic NavBar # 
Instance details

Defined in Napkin.Cli.Web.Navbar

Associated Types

type Rep NavBar 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBar = D1 ('MetaData "NavBar" "Napkin.Cli.Web.Navbar" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "NavBar" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: NavBar -> Rep NavBar x #

to :: Rep NavBar x -> NavBar #

HyperView NavBar # 
Instance details

Defined in Napkin.Cli.Web.Navbar

Associated Types

type Action NavBar 
Instance details

Defined in Napkin.Cli.Web.Navbar

ViewId NavBar # 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBar # 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBar = D1 ('MetaData "NavBar" "Napkin.Cli.Web.Navbar" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "NavBar" 'PrefixI 'False) (U1 :: Type -> Type))
type Action NavBar # 
Instance details

Defined in Napkin.Cli.Web.Navbar

data NavBarAction #

Constructors

PollStatus 

Instances

Instances details
Generic NavBarAction # 
Instance details

Defined in Napkin.Cli.Web.Navbar

Associated Types

type Rep NavBarAction 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBarAction = D1 ('MetaData "NavBarAction" "Napkin.Cli.Web.Navbar" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "PollStatus" 'PrefixI 'False) (U1 :: Type -> Type))
ViewAction NavBarAction # 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBarAction # 
Instance details

Defined in Napkin.Cli.Web.Navbar

type Rep NavBarAction = D1 ('MetaData "NavBarAction" "Napkin.Cli.Web.Navbar" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "PollStatus" 'PrefixI 'False) (U1 :: Type -> Type))

navbarContent :: forall {k} (b :: k) f (es :: [Effect]). (Hyperbole :> es, DAG b :> es, Reader Title :> es, Reader RunMode :> es, Reader UTCTime :> es, IOE :> es, Reader Args :> es) => f -> NavBarAction -> Eff es (View NavBar ()) #

getNavbarState :: forall {k} (b :: k) (es :: [Effect]). (Hyperbole :> es, DAG b :> es) => Eff es NavbarStatus #

data NavbarStatus #

Instances

Instances details
Eq NavbarStatus # 
Instance details

Defined in Napkin.Cli.Web.Navbar