Sha256: 9e870fa4df240a64cefacfa492506f83abae1c0f9f7d239215215f846aa60b89

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

class CheckboxComponent < ViewComponent::Base
    def initialize(name:, label: , description: "", checked: false, disabled: false)
        @name = name
        @label = label
        @description = description
        @checked = checked
        @disabled = disabled
      end
  end
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
railwind-0.1.26 lib/railwind/generators/templates/checkbox/checkbox_component.rb