Class: ShadcnPhlexcomponents::CommandFooter
- Defined in:
- lib/shadcn_phlexcomponents/components/command.rb
Constant Summary
Constants inherited from Base
Base::SANITIZER_ALLOWED_ATTRIBUTES, Base::SANITIZER_ALLOWED_TAGS, Base::TAILWIND_MERGER
Instance Method Summary collapse
Methods inherited from Base
#before_template, #convert_collection_hash_to_struct, #default_attributes, #find_as_child, #icon, #initialize, #item_disabled?, #merge_default_attributes, #merged_as_child_attributes, #nokogiri_attributes_to_hash, #overlay, #sanitize_as_child
Constructor Details
This class inherits a constructor from ShadcnPhlexcomponents::Base
Instance Method Details
#view_template ⇒ Object
393 394 395 396 397 398 399 400 401 402 403 |
# File 'lib/shadcn_phlexcomponents/components/command.rb', line 393 def view_template div(**@attributes) do div(class: "flex items-center gap-2") do CommandKbd do icon("corner-down-left") end plain("Go to Page") end end end |