class ButtonComponent

Constants

MODIFIERS

Public Class Methods

new(url:, label:, icon: nil, modifiers: [], options: {}) click to toggle source
Calls superclass method
# File lib/alveole/components/button_component.rb, line 6
def initialize(url:, label:, icon: nil, modifiers: [], options: {})
  super

  @url = url
  @label = label
  @icon = icon
  @options = options
  self.modifiers = modifiers
end