Module: NfgUi::Components::Traits::Navbar
- Includes:
- Utilities::Traits::TraitUtilities
- Included in:
- Patterns::Navbar
- Defined in:
- lib/nfg_ui/components/traits/navbar.rb
Overview
Access to pre-designed traits
Constant Summary collapse
- TRAITS =
%i[white].freeze
Instance Method Summary collapse
Instance Method Details
#white_trait ⇒ Object
12 13 14 15 |
# File 'lib/nfg_ui/components/traits/navbar.rb', line 12 def white_trait maybe_update_option(:light, value: true) maybe_update_option(:theme, value: :white) end |