Documentation
¶
Overview ¶
templ: version: v0.2.793
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Props ¶
type Props struct {
// Tabs is an array of Tab structs representing each tab in the component.
Tabs []Tab
// DefaultIndex - the zero based index of the tab auto-selected
// default: "0" means the first, left most tab
DefaultIndex string
// TabsContainerClass specifies additional CSS classes for the tabs container.
// Default: "" (empty string)
TabsContainerClass string
// ContentContainerClass specifies additional CSS classes for the content container.
// Default: "" (empty string)
ContentContainerClass string
// Class additonal css / tailwind classes
Class string
}
Props defines the properties for the Tabs component.
Click to show internal directories.
Click to hide internal directories.