| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Miso.UI.Alert
Synopsis
- data AlertProps action = AlertProps {
- alertVariant :: Variant
- alertClasses :: [MisoString]
- alertAttrs :: [Attribute action]
- defaultAlertProps :: AlertProps action
- alert_ :: AlertProps action -> [View model action] -> View model action
- alertHeader_ :: [Attribute action] -> [View model action] -> View model action
- alertSection_ :: [Attribute action] -> [View model action] -> View model action
- alertSample :: View model action
- alertCodeSample :: View model action
- alertPropsApi :: View model action
Props
data AlertProps action Source #
Props for alert_
Constructors
| AlertProps | |
Fields
| |
defaultAlertProps :: AlertProps action Source #
Smart constructor: default (success-styled) alert
Views
alert_ :: AlertProps action -> [View model action] -> View model action Source #
Alert, driven by AlertProps.
Children are typically an icon, an alertHeader_ and an alertSection_.
Sample
alertSample :: View model action Source #
alertCodeSample :: View model action Source #
alertPropsApi :: View model action Source #