Class: AblyUi::Core::FeaturedLink
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AblyUi::Core::FeaturedLink
- Defined in:
- lib/ably_ui/core/featured_link/featured_link.rb
Instance Method Summary collapse
-
#initialize(url:, text_size: 'text-menu3', icon_color: 'text-cool-black', flush: false, additional_css: '') ⇒ FeaturedLink
constructor
A new instance of FeaturedLink.
Constructor Details
#initialize(url:, text_size: 'text-menu3', icon_color: 'text-cool-black', flush: false, additional_css: '') ⇒ FeaturedLink
Returns a new instance of FeaturedLink.
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ably_ui/core/featured_link/featured_link.rb', line 4 def initialize( url:, text_size: 'text-menu3', icon_color: 'text-cool-black', flush: false, additional_css: '' ) @url = url @text_size = text_size @icon_color = icon_color @flush = flush @additional_css = additional_css end |