// templui component code - version: v0.84.0 installed by templui v0.84.0 package code import ( "git.jmbit.de/jmb/scanfile/server/web/templui/components/icon" "git.jmbit.de/jmb/scanfile/server/web/templui/utils" ) type Size string const ( SizeSm Size = "sm" SizeLg Size = "lg" SizeFull Size = "full" ) type Props struct { ID string Class string Attrs templ.Attributes Language string ShowCopyButton bool Size Size CodeClass string } templ Code(props ...Props) { {{ var p Props }} if len(props) > 0 { {{ p = props[0] }} } if p.ID == "" { {{ p.ID = "code-" + utils.RandomID() }} }
			
				{ children... }
			
		
if p.ShowCopyButton { }
} templ Script() { }