Sha256: 3b51a2c5fc02af9b82504725afb09310b259abe0138e79a7a591aae5a3dfec57

Contents?: true

Size: 599 Bytes

Versions: 36

Compression:

Stored size: 599 Bytes

Contents

module Avo
  module Resources
    module Controls
      class ActionsList < BaseControl
        ACTIONS_LIST_DROPDOWN_ICON = "heroicons/outline/arrow-down-circle" unless defined?(ACTIONS_LIST_DROPDOWN_ICON)

        attr_reader :color, :exclude, :include, :style, :icon

        def initialize(**args)
          super(**args)

          @color = args[:color] || :primary
          @exclude = args[:exclude] || []
          @include = args[:include] || []
          @style = args[:style] || :outline
          @icon = args[:icon] || ACTIONS_LIST_DROPDOWN_ICON
        end
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
avo-3.14.3 lib/avo/resources/controls/actions_list.rb
avo-3.14.2 lib/avo/resources/controls/actions_list.rb
avo-3.14.1 lib/avo/resources/controls/actions_list.rb
avo-3.14.0 lib/avo/resources/controls/actions_list.rb
avo-3.13.7 lib/avo/resources/controls/actions_list.rb
avo-3.13.6 lib/avo/resources/controls/actions_list.rb
avo-3.13.5 lib/avo/resources/controls/actions_list.rb
avo-3.13.4 lib/avo/resources/controls/actions_list.rb
avo-3.13.3 lib/avo/resources/controls/actions_list.rb
avo-3.13.2 lib/avo/resources/controls/actions_list.rb
avo-3.13.1 lib/avo/resources/controls/actions_list.rb
avo-3.13.0 lib/avo/resources/controls/actions_list.rb
avo-3.12.0 lib/avo/resources/controls/actions_list.rb
avo-3.11.10 lib/avo/resources/controls/actions_list.rb
avo-3.11.9 lib/avo/resources/controls/actions_list.rb
avo-3.11.8 lib/avo/resources/controls/actions_list.rb
avo-3.11.7 lib/avo/resources/controls/actions_list.rb
avo-3.11.6 lib/avo/resources/controls/actions_list.rb
avo-3.11.5 lib/avo/resources/controls/actions_list.rb
avo-3.11.4 lib/avo/resources/controls/actions_list.rb