element-plus
Version:
A Component Library for Vue 3
31 lines (28 loc) • 670 B
JavaScript
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
const dividerProps = buildProps({
/**
* @description Set divider's direction
*/
direction: {
type: String,
values: ["horizontal", "vertical"],
default: "horizontal"
},
/**
* @description Set the style of divider
*/
contentPosition: {
type: String,
values: ["left", "center", "right"],
default: "center"
},
/**
* @description the position of the customized content on the divider line
*/
borderStyle: {
type: definePropType(String),
default: "solid"
}
});
export { dividerProps };
//# sourceMappingURL=divider.mjs.map