Skip to content

Commit 38d14a2

Browse files
paulyoungethul
authored andcommitted
Add the SVG x and y attributes (#113)
1 parent 0e8fb4b commit 38d14a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/React/DOM/Props.purs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,3 +620,10 @@ onWheel f = unsafeMkProps "onWheel" (handle f)
620620

621621
suppressContentEditableWarning :: Boolean -> Props
622622
suppressContentEditableWarning = unsafeMkProps "suppressContentEditableWarning"
623+
624+
-- SVG attributes
625+
x :: Int -> Props
626+
x = unsafeMkProps "x"
627+
628+
y :: Int -> Props
629+
y = unsafeMkProps "y"

0 commit comments

Comments
 (0)