miso-ui
Safe HaskellNone
LanguageHaskell2010

Miso.UI.Badge

Synopsis

Props

data BadgeProps action Source #

Props for badge_

Constructors

BadgeProps 

Fields

defaultBadgeProps :: BadgeProps action Source #

Smart constructor: primary variant, not rounded

Views

badge_ :: BadgeProps action -> [View model action] -> View model action Source #

Badge, driven by BadgeProps

badgeClass :: BadgeProps action -> MisoString Source #

Computes the basecoat badge class (e.g. badge-outline)

Samples

badgeSample :: View model action Source #

badgeCodeSample :: View model action Source #

badgePropsApi :: View model action Source #