enhance(style):调整flex预定义的参数顺序。

This commit is contained in:
徐涛 2024-07-12 06:31:38 +08:00
parent bbbb800524
commit c28ebdfca1

View File

@ -35,8 +35,8 @@ export function flex(
direction: Property.FlexDirection = "row",
justify: Property.JustifyContent = "flex-start",
align: Property.AlignItems = "start",
wrap: Property.FlexWrap = "nowrap",
gap: MeasureUnit = "none"
gap: MeasureUnit = "none",
wrap: Property.FlexWrap = "nowrap"
) {
return css({
display: "flex",