Module: NfgUi::Components::Traits::Navbar
- 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
10 11 12 13 14 |
# File 'lib/nfg_ui/components/traits/navbar.rb', line 10 def white_trait [:light] = true # options[:class] += ' bg-white' [:theme] = :white end |