// templui component separator - version: main installed by templui v0.71.0 package separator import "git.jmbit.de/jmb/scanfile/server/web/templui/utils" type Orientation string type Decoration string const ( OrientationHorizontal Orientation = "horizontal" OrientationVertical Orientation = "vertical" ) const ( DecorationDashed Decoration = "dashed" DecorationDotted Decoration = "dotted" ) type Props struct { ID string Class string Attributes templ.Attributes Orientation Orientation Decoration Decoration } templ Separator(props ...Props) { {{ var p Props }} if len(props) > 0 { {{ p = props[0] }} } if p.Orientation == "" { {{ p.Orientation = OrientationHorizontal }} } if p.Orientation == OrientationHorizontal {