Sha256: cce17b61a6ce42cfbfb620523fc13e544533bd5ad4b036e912b0f2bbadb34385

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Bs5
  class ProgressComponent < ViewComponent::Base
    include ViewComponent::SlotableV2
    renders_many :bars, Bs5::Progress::BarComponent

    attr_reader :value, :options

    def initialize(value = nil, options = {})
      @options = options.symbolize_keys
      @value = value
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bs5-0.0.31 app/components/bs5/progress_component.rb
bs5-0.0.30 app/components/bs5/progress_component.rb
bs5-0.0.29 app/components/bs5/progress_component.rb