From bc1c131f30129827fd5bdc727e38fed98d5d8f1b Mon Sep 17 00:00:00 2001 From: Paul Young Date: Tue, 29 Aug 2017 13:48:31 -0700 Subject: [PATCH] Add the SVG `x` and `y` attributes --- src/React/DOM/Props.purs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/React/DOM/Props.purs b/src/React/DOM/Props.purs index 8bac25c..e6e1e0c 100644 --- a/src/React/DOM/Props.purs +++ b/src/React/DOM/Props.purs @@ -620,3 +620,10 @@ onWheel f = unsafeMkProps "onWheel" (handle f) suppressContentEditableWarning :: Boolean -> Props suppressContentEditableWarning = unsafeMkProps "suppressContentEditableWarning" + +-- SVG attributes +x :: Int -> Props +x = unsafeMkProps "x" + +y :: Int -> Props +y = unsafeMkProps "y"