// templui component breadcrumb - version: v0.84.0 installed by templui v0.84.0 package breadcrumb import ( "git.jmbit.de/jmb/scanfile/server/web/templui/components/icon" "git.jmbit.de/jmb/scanfile/server/web/templui/utils" ) type Props struct { ID string Class string Attributes templ.Attributes } type ListProps struct { ID string Class string Attributes templ.Attributes } type ItemProps struct { ID string Class string Attributes templ.Attributes Current bool } type LinkProps struct { ID string Class string Attributes templ.Attributes Href string } type SeparatorProps struct { ID string Class string Attributes templ.Attributes UseCustom bool } templ Breadcrumb(props ...Props) { {{ var p Props }} if len(props) > 0 { {{ p = props[0] }} } } templ List(props ...ListProps) { {{ var p ListProps }} if len(props) > 0 { {{ p = props[0] }} }