Skip to content

Commit addc305

Browse files
evenchange4ethul
authored andcommitted
feat(SVG): add some common attributes for SVG (#114)
1 parent 38d14a2 commit addc305

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/React/DOM/Props.purs

+33
Original file line numberDiff line numberDiff line change
@@ -627,3 +627,36 @@ x = unsafeMkProps "x"
627627

628628
y :: Int -> Props
629629
y = unsafeMkProps "y"
630+
631+
cx :: Int -> Props
632+
cx = unsafeMkProps "cx"
633+
634+
cy :: Int -> Props
635+
cy = unsafeMkProps "cy"
636+
637+
r :: Int -> Props
638+
r = unsafeMkProps "r"
639+
640+
fill :: String -> Props
641+
fill = unsafeMkProps "fill"
642+
643+
opacity :: Int -> Props
644+
opacity = unsafeMkProps "opacity"
645+
646+
fillOpacity :: Int -> Props
647+
fillOpacity = unsafeMkProps "fillOpacity"
648+
649+
stroke :: String -> Props
650+
stroke = unsafeMkProps "stroke"
651+
652+
strokeWidth :: Int -> Props
653+
strokeWidth = unsafeMkProps "strokeWidth"
654+
655+
points :: String -> Props
656+
points = unsafeMkProps "points"
657+
658+
d :: String -> Props
659+
d = unsafeMkProps "d"
660+
661+
viewBox :: String -> Props
662+
viewBox = unsafeMkProps "viewBox"

0 commit comments

Comments
 (0)