Class: Shadcn::AlertDialog::Header::Component

Inherits:
Shadcn::ApplicationViewComponent show all
Defined in:
app/components/shadcn/alert_dialog/header/component.rb

Overview

AlertDialogHeader

Constant Summary

Constants inherited from Shadcn::ApplicationViewComponent

Shadcn::ApplicationViewComponent::CONTENTS_STYLE, Shadcn::ApplicationViewComponent::VOID_TAGS

Instance Attribute Summary

Attributes inherited from Shadcn::ApplicationViewComponent

#attributes

Instance Method Summary collapse

Methods inherited from Shadcn::ApplicationViewComponent

#css_classes, default_tag, #element_attributes, #initialize, #merged_style, #render_element, #shadcn_t, slot_name, #style_variants, #tag_name

Constructor Details

This class inherits a constructor from Shadcn::ApplicationViewComponent

Instance Method Details

#callObject



27
28
29
# File 'app/components/shadcn/alert_dialog/header/component.rb', line 27

def call
  render_element(body: safe_join([ media, title, description, content ].compact))
end