Module
Reactor.Internal.Widget
- Package
- purescript-grid-reactors
- Repository
- Eugleo/purescript-grid-reactors
#Widget Source
data Widget
Currently we support two types of widgets: sections and labels. Those two differ only in the way they are rendered. We recommend using labels for presenting important dynamic information to the user, and using sections to give short, descriptive labels to these pieces of information.
Button { importance :: Importance, label :: String, action :: world -> world }