diff options
Diffstat (limited to 'svg/attributes.go')
-rw-r--r-- | svg/attributes.go | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/svg/attributes.go b/svg/attributes.go new file mode 100644 index 0000000..10b7c69 --- /dev/null +++ b/svg/attributes.go @@ -0,0 +1,29 @@ +package svg + +import ( + g "github.com/maragudk/gomponents" +) + +func ClipRule(v string) g.Node { + return g.Attr("clip-rule", v) +} + +func D(v string) g.Node { + return g.Attr("d", v) +} + +func Fill(v string) g.Node { + return g.Attr("fill", v) +} + +func FillRule(v string) g.Node { + return g.Attr("fill-rule", v) +} + +func Stroke(v string) g.Node { + return g.Attr("stroke", v) +} + +func ViewBox(v string) g.Node { + return g.Attr("viewBox", v) +} |