Class: Shadcn::SidebarGroupContentComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/shadcn/sidebar_group_content_component.rb

Overview

SidebarGroupContent component - content container for a sidebar group

Constant Summary collapse

BASE_CLASSES =
"w-full text-sm"

Instance Attribute Summary

Attributes inherited from BaseComponent

#class_name, #data, #html_options

Instance Method Summary collapse

Methods inherited from BaseComponent

#content, #initialize

Methods included from Rails::Helpers::ClassNameHelper

#cn

Constructor Details

This class inherits a constructor from Shadcn::BaseComponent

Instance Method Details

#callObject



12
13
14
# File 'app/components/shadcn/sidebar_group_content_component.rb', line 12

def call
  (:div, content_structure, content_attributes)
end