File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,20 @@ Object.keys(svgProps).forEach(elName => {
67
67
// The attribute list for <svg> in react-html-attributes
68
68
// is wrong (it contains the union of the attributes of all
69
69
// svg elements)
70
- htmlProps [ 'svg' ] = camelCaseSvgProps [ 'svg' ] ;
70
+ htmlProps [ 'svg' ] = camelCaseSvgProps [ 'svg' ] . concat ( [
71
+ "xlinkActuate" ,
72
+ "xlinkArcrole" ,
73
+ "xlinkHref" ,
74
+ "xlinkRole" ,
75
+ "xlinkShow" ,
76
+ "xlinkTitle" ,
77
+ "xlinkType" ,
78
+ "xmlBase" ,
79
+ "xmlLang" ,
80
+ "xmlSpace" ,
81
+ "xmlns" ,
82
+ "xmlnsXlink"
83
+ ] ) ;
71
84
72
85
const printRecord = ( e , elProps ) =>
73
86
elProps . length
Original file line number Diff line number Diff line change @@ -10826,6 +10826,18 @@ type Props_svg =
10826
10826
, wordSpacing :: String
10827
10827
, writingMode :: String
10828
10828
, x :: String
10829
+ , xlinkActuate :: String
10830
+ , xlinkArcrole :: String
10831
+ , xlinkHref :: String
10832
+ , xlinkRole :: String
10833
+ , xlinkShow :: String
10834
+ , xlinkTitle :: String
10835
+ , xlinkType :: String
10836
+ , xmlBase :: String
10837
+ , xmlLang :: String
10838
+ , xmlSpace :: String
10839
+ , xmlns :: String
10840
+ , xmlnsXlink :: String
10829
10841
, y :: String
10830
10842
, zoomAndPan :: String
10831
10843
)
You can’t perform that action at this time.
0 commit comments