accordion

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accordion

func Accordion(props ...Props) templ.Component

func Content added in v1.1.0

func Content(props ...ContentProps) templ.Component

func Item

func Item(props ...ItemProps) templ.Component

func Trigger added in v1.1.0

func Trigger(props ...TriggerProps) templ.Component

Types

type ContentProps added in v1.1.0

type ContentProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type ItemProps added in v1.1.0

type ItemProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type Props added in v1.1.0

type Props struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

type TriggerProps added in v1.1.0

type TriggerProps struct {
	ID         string
	Class      string
	Attributes templ.Attributes
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL