| 123456789101112131415161718192021222324252627282930313233343536 |
- import { EpPropFinalized } from "../../../utils/vue/props/types.js";
- import "../../../utils/index.js";
- import { _default } from "./divider.vue.js";
- import { ExtractPublicPropTypes } from "vue";
- //#region ../../packages/components/divider/src/divider.d.ts
- type BorderStyle = CSSStyleDeclaration['borderStyle'];
- interface DividerProps {
- /**
- * @description Set divider's direction
- */
- direction?: 'horizontal' | 'vertical';
- /**
- * @description Set the style of divider
- */
- contentPosition?: 'left' | 'center' | 'right';
- /**
- * @description the position of the customized content on the divider line
- */
- borderStyle?: BorderStyle;
- }
- /**
- * @deprecated Removed after 3.0.0, Use `DividerProps` instead.
- */
- declare const dividerProps: {
- readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
- readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
- readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
- };
- /**
- * @deprecated Removed after 3.0.0, Use `DividerProps` instead.
- */
- type DividerPropsPublic = ExtractPublicPropTypes<typeof dividerProps>;
- type DividerInstance = InstanceType<typeof _default> & unknown;
- //#endregion
- export { BorderStyle, DividerInstance, DividerProps, DividerPropsPublic, dividerProps };
|