@@ -11,23 +11,36 @@ foreign import data CSS :: Type
11
11
-- The string props are from MDN, and the
12
12
-- event handlers are the same as in SharedProps
13
13
-- (the same events should work for SVG elements)
14
- type SharedSVGProps specific =
15
- ( id :: String
16
- , className :: String
17
- , style :: CSS
18
- , tabIndex :: String
19
- , onBlur :: EventHandler
20
- , onClick :: EventHandler
21
- , onFocus :: EventHandler
22
- , onMouseDown :: EventHandler
23
- , onMouseEnter :: EventHandler
24
- , onMouseLeave :: EventHandler
25
- , onMouseMove :: EventHandler
26
- , onMouseOut :: EventHandler
27
- , onMouseOver :: EventHandler
28
- , onMouseUp :: EventHandler
29
- | specific
30
- )
14
+ type SharedSVGProps specific
15
+ = ( id :: String
16
+ , className :: String
17
+ , style :: CSS
18
+ , tabIndex :: String
19
+ , lang :: String
20
+ , xlinkActuate :: String
21
+ , xlinkArcrole :: String
22
+ , xlinkHref :: String
23
+ , xlinkRole :: String
24
+ , xlinkShow :: String
25
+ , xlinkTitle :: String
26
+ , xlinkType :: String
27
+ , xmlBase :: String
28
+ , xmlLang :: String
29
+ , xmlSpace :: String
30
+ , xmlns :: String
31
+ , xmlnsXlink :: String
32
+ , onBlur :: EventHandler
33
+ , onClick :: EventHandler
34
+ , onFocus :: EventHandler
35
+ , onMouseDown :: EventHandler
36
+ , onMouseEnter :: EventHandler
37
+ , onMouseLeave :: EventHandler
38
+ , onMouseMove :: EventHandler
39
+ , onMouseOut :: EventHandler
40
+ , onMouseOver :: EventHandler
41
+ , onMouseUp :: EventHandler
42
+ | specific
43
+ )
31
44
32
45
unsafeCreateDOMComponent :: forall props . String -> ReactComponent props
33
46
unsafeCreateDOMComponent = unsafeCoerce
0 commit comments