element-plus
Version:
A Component Library for Vue 3
53 lines (52 loc) • 874 B
JavaScript
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
//#region ../../packages/components/row/src/row.ts
const RowJustify = [
"start",
"center",
"end",
"space-around",
"space-between",
"space-evenly"
];
const RowAlign = [
"top",
"middle",
"bottom"
];
/**
* @deprecated Removed after 3.0.0, Use `RowProps` instead.
*/
const rowProps = buildProps({
/**
* @description custom element tag
*/
tag: {
type: String,
default: "div"
},
/**
* @description grid spacing
*/
gutter: {
type: Number,
default: 0
},
/**
* @description horizontal alignment of flex layout
*/
justify: {
type: String,
values: RowJustify,
default: "start"
},
/**
* @description vertical alignment of flex layout
*/
align: {
type: String,
values: RowAlign
}
});
//#endregion
export { RowAlign, RowJustify, rowProps };
//# sourceMappingURL=row.mjs.map