Sha256: 3b51a2c5fc02af9b82504725afb09310b259abe0138e79a7a591aae5a3dfec57

Contents?: true

Size: 599 Bytes

Versions: 38

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

38 entries across 38 versions & 1 rubygems

Version Path
avo-3.11.5 lib/avo/resources/controls/actions_list.rb
avo-3.11.4 lib/avo/resources/controls/actions_list.rb
avo-3.11.3 lib/avo/resources/controls/actions_list.rb
avo-3.11.2 lib/avo/resources/controls/actions_list.rb
avo-3.11.1 lib/avo/resources/controls/actions_list.rb
avo-3.11.0 lib/avo/resources/controls/actions_list.rb
avo-3.10.10 lib/avo/resources/controls/actions_list.rb
avo-3.10.9 lib/avo/resources/controls/actions_list.rb
avo-3.10.8 lib/avo/resources/controls/actions_list.rb
avo-3.10.7 lib/avo/resources/controls/actions_list.rb
avo-3.10.6 lib/avo/resources/controls/actions_list.rb
avo-3.10.5 lib/avo/resources/controls/actions_list.rb
avo-3.10.4 lib/avo/resources/controls/actions_list.rb
avo-3.10.3 lib/avo/resources/controls/actions_list.rb
avo-3.10.2 lib/avo/resources/controls/actions_list.rb
avo-3.10.1 lib/avo/resources/controls/actions_list.rb
avo-3.10.0 lib/avo/resources/controls/actions_list.rb
avo-3.9.2 lib/avo/resources/controls/actions_list.rb