Tab
Single item for Tabs. This component is not used as a standalone.
TabBosons
Id
required
Id for tab.
type:
stringActive
required
Tab title.
type:
stringdefault:
falseIcon
Value of icon if exists.
type:
templ.ComponentBadge
Value of badge if exists.
type:
stringdefault:
fUsing in Tabs
1// Used in Tabs with arguments for formating
2
3@atoms.Tab(&item, props.Type, props.WithIcon, props.WithBadge, len(props.Items))