Class: Shadcn::TabsListComponent

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

Overview

Tabs List component

Constant Summary collapse

BASE_CLASSES =
"inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground"

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/tabs_list_component.rb', line 12

def call
  (:div, list_content, list_attributes)
end