Module: NfgUi::Components::Traits::Alert
- Included in:
- Elements::Alert
- Defined in:
- lib/nfg_ui/components/traits/alert.rb
Overview
Access to pre-designed Alert traits
Constant Summary collapse
- TRAITS =
%i[tip].freeze
Instance Method Summary collapse
Instance Method Details
#tip_trait ⇒ Object
10 11 12 13 14 |
# File 'lib/nfg_ui/components/traits/alert.rb', line 10 def tip_trait [:icon] = NfgUi::DEFAULT_TIP_ICON [:theme] = NfgUi::DEFAULT_TIP_THEME [:dismissible] = false end |