Sha256: 8f698cdeb912d9a27f525f764e6476286f189bda57e26fd655b8540ca3ff1467
Contents?: true
Size: 638 Bytes
Versions: 87
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true module Primer module Forms module Dsl # :nodoc: class ActionMenuInput < Input attr_reader :name, :label, :block def initialize(name:, label:, **system_arguments, &block) @name = name @label = label @block = block super(**system_arguments) end def to_component ActionMenu.new(input: self) end # :nocov: def type :action_menu end # :nocov: # :nocov: def focusable? true end # :nocov: end end end end
Version data entries
87 entries across 87 versions & 2 rubygems