Add stroke-width SVG attribute (#116)
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M svg/attributes.go → svg/attributes.go
@@ -24,6 +24,10 @@ func Stroke(v string) g.Node { return g.Attr("stroke", v) } +func StrokeWidth(v string) g.Node { + return g.Attr("stroke-width", v) +} + func ViewBox(v string) g.Node { return g.Attr("viewBox", v) }