Sha256: d36080597628dbea1c3fdab5dc6d62c708dd5f8ff47f2d54739e32029555674c

Contents?: true

Size: 180 Bytes

Versions: 6

Compression:

Stored size: 180 Bytes

Contents

class ButtonComponent < ViewComponent::Base
    def initialize(text:, variant: "primary", type: "button")
      @text = text
      @variant = variant
      @type = type
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
railwind-0.1.26 lib/railwind/generators/templates/button/button_component.rb
railwind-0.1.25 lib/railwind/generators/templates/button/button_component.rb
railwind-0.1.24 lib/railwind/generators/templates/button/button_component.rb
railwind-0.1.23 lib/railwind/generators/templates/button/button_component.rb
railwind-0.1.22 lib/railwind/generators/templates/button/button_component.rb
railwind-0.1.15 lib/railwind/generators/templates/button_component.rb