divider.mjs 786 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import { buildProps, definePropType } from "../../../utils/vue/props/runtime.mjs";
  2. //#region ../../packages/components/divider/src/divider.ts
  3. /**
  4. * @deprecated Removed after 3.0.0, Use `DividerProps` instead.
  5. */
  6. const dividerProps = buildProps({
  7. /**
  8. * @description Set divider's direction
  9. */
  10. direction: {
  11. type: String,
  12. values: ["horizontal", "vertical"],
  13. default: "horizontal"
  14. },
  15. /**
  16. * @description The position of the customized content on the divider line
  17. */
  18. contentPosition: {
  19. type: String,
  20. values: [
  21. "left",
  22. "center",
  23. "right"
  24. ],
  25. default: "center"
  26. },
  27. /**
  28. * @description Set the style of divider
  29. */
  30. borderStyle: {
  31. type: definePropType(String),
  32. default: "solid"
  33. }
  34. });
  35. //#endregion
  36. export { dividerProps };
  37. //# sourceMappingURL=divider.mjs.map