Sha256: c2d18083a6d3c8b5dfe2ebf38e2c81c93c1abcba748b61c29f686dc59d110648
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true class Avo::Fields::Common::ProgressBarComponent < ViewComponent::Base attr_reader :value attr_reader :display_value attr_reader :value_suffix attr_reader :max def initialize(value:, display_value: false, value_suffix: nil, max: 100) @value = value @display_value = display_value @value_suffix = value_suffix @max = max end end
Version data entries
11 entries across 11 versions & 1 rubygems