Class: Shadcn::ButtonGroup::Text::Component

Inherits:
ApplicationViewComponent show all
Defined in:
app/components/shadcn/button_group/text/component.rb

Overview

ButtonGroupText. Deliberately has no data-slot: upstream emits none, so slot_name is never called and element_attributes drops the key.

Its asChild is the base class's as:, which needs no code here.

Constant Summary

Constants inherited from ApplicationViewComponent

ApplicationViewComponent::CONTENTS_STYLE, ApplicationViewComponent::VOID_TAGS

Instance Attribute Summary

Attributes inherited from ApplicationViewComponent

#attributes

Method Summary

Methods inherited from ApplicationViewComponent

#call, #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