@@ -115,8 +115,13 @@ export interface IntrinsicElements {
115
115
116
116
// SVG Elements
117
117
svg : JsxSvgElementProps ;
118
+ g : JsxGElementProps ;
118
119
path : JsxPathElementProps ;
119
120
rect : JsxRectElementProps ;
121
+ circle : JsxCircleElementProps ;
122
+ ellipse : JsxEllipseElementProps ;
123
+ polygon : JsxPolygonElementProps ;
124
+ polyline : JsxPolylineElementProps ;
120
125
use : JsxUseElementProps ;
121
126
}
122
127
@@ -1027,6 +1032,17 @@ export interface JsxSvgElementProps
1027
1032
y ?: string | number ;
1028
1033
}
1029
1034
1035
+ /**
1036
+ * Properties permitted on the `<g>` element.
1037
+ *
1038
+ * Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
1039
+ */
1040
+ export interface JsxGElementProps
1041
+ extends JsxSvgCoreProps ,
1042
+ JsxSvgStyleProps ,
1043
+ JsxSvgConditionalProcessingProps ,
1044
+ JsxSvgPresentationProps { }
1045
+
1030
1046
/**
1031
1047
* Properties permitted on the `<path>` element.
1032
1048
*
@@ -1060,6 +1076,66 @@ export interface JsxRectElementProps
1060
1076
y ?: string | number ;
1061
1077
}
1062
1078
1079
+ /**
1080
+ * Properties permitted on the `<circle>` element.
1081
+ *
1082
+ * Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
1083
+ */
1084
+ export interface JsxCircleElementProps
1085
+ extends JsxSvgCoreProps ,
1086
+ JsxSvgStyleProps ,
1087
+ JsxSvgConditionalProcessingProps ,
1088
+ JsxSvgPresentationProps {
1089
+ cx ?: string | number ;
1090
+ cy ?: string | number ;
1091
+ r ?: string | number ;
1092
+ pathLength ?: number ;
1093
+ }
1094
+
1095
+ /**
1096
+ * Properties permitted on the `<ellipse>` element.
1097
+ *
1098
+ * Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
1099
+ */
1100
+ export interface JsxEllipseElementProps
1101
+ extends JsxSvgCoreProps ,
1102
+ JsxSvgStyleProps ,
1103
+ JsxSvgConditionalProcessingProps ,
1104
+ JsxSvgPresentationProps {
1105
+ cx ?: string | number ;
1106
+ cy ?: string | number ;
1107
+ rx ?: string | number ;
1108
+ ry ?: string | number ;
1109
+ pathLength ?: number ;
1110
+ }
1111
+
1112
+ /**
1113
+ * Properties permitted on the `<polygon>` element.
1114
+ *
1115
+ * Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
1116
+ */
1117
+ export interface JsxPolygonElementProps
1118
+ extends JsxSvgCoreProps ,
1119
+ JsxSvgStyleProps ,
1120
+ JsxSvgConditionalProcessingProps ,
1121
+ JsxSvgPresentationProps {
1122
+ points ?: string ;
1123
+ pathLength ?: number ;
1124
+ }
1125
+
1126
+ /** Properties permitted on the `<polyline>` element.
1127
+ *
1128
+ * Reference: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
1129
+ */
1130
+ export interface JsxPolylineElementProps
1131
+ extends JsxSvgCoreProps ,
1132
+ JsxSvgStyleProps ,
1133
+ JsxSvgConditionalProcessingProps ,
1134
+ JsxSvgPresentationProps {
1135
+ points ?: string ;
1136
+ pathLength ?: number ;
1137
+ }
1138
+
1063
1139
/**
1064
1140
* Properties permitted on the `<use>` element.
1065
1141
*
0 commit comments