// templui component spinner - version: main installed by templui v0.71.0 package spinner import "git.jmbit.de/jmb/scanfile/server/web/templui/utils" type Size string const ( SizeSm Size = "sm" SizeMd Size = "md" SizeLg Size = "lg" ) type Props struct { ID string Class string Attributes templ.Attributes Size Size Color string } templ Spinner(props ...Props) { {{ var p Props }} if len(props) > 0 { {{ p = props[0] }} }