File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change @@ -1181,9 +1181,12 @@ export type FlexIcon = {
1181
1181
| "4xl"
1182
1182
| "5xl" ;
1183
1183
/**
1184
- * Aspect ratio of the icon. The default value is `1:1`.
1184
+ * Aspect ratio of the icon. `{width}:{height}` format.
1185
+ * The values of `{width}` and `{height}` must be in the range 1–100000.
1186
+ * `{height}` can't be more than three times the value of `{width}`.
1187
+ * The default value is `1:1`.
1185
1188
*/
1186
- aspectRatio ?: "1:1" | "2:1" | "3:1" ;
1189
+ aspectRatio ?: string ;
1187
1190
} & Offset ;
1188
1191
1189
1192
/**
@@ -1262,22 +1265,12 @@ export type FlexImage = {
1262
1265
| "5xl"
1263
1266
| "full" ;
1264
1267
/**
1265
- * Aspect ratio of the image.
1268
+ * Aspect ratio of the image. `{width}:{height}` format.
1269
+ * Specify the value of `{width}` and `{height}` in the range from 1 to 100000. However,
1270
+ * you cannot set `{height}` to a value that is more than three times the value of `{width}`.
1266
1271
* The default value is `1:1`.
1267
1272
*/
1268
- aspectRatio ?:
1269
- | "1:1"
1270
- | "1.51:1"
1271
- | "1.91:1"
1272
- | "4:3"
1273
- | "16:9"
1274
- | "20:13"
1275
- | "2:1"
1276
- | "3:1"
1277
- | "3:4"
1278
- | "9:16"
1279
- | "1:2"
1280
- | "1:3" ;
1273
+ aspectRatio ?: string ;
1281
1274
/**
1282
1275
* Style of the image. Specify one of the following values:
1283
1276
*
You can’t perform that action at this time.
0 commit comments