breadcrumb.d.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { IconPropType } from "../../../utils/vue/icon.js";
  2. import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
  3. import * as _$vue from "vue";
  4. import { ExtractPublicPropTypes } from "vue";
  5. //#region ../../packages/components/breadcrumb/src/breadcrumb.d.ts
  6. interface BreadcrumbProps {
  7. /**
  8. * @description separator character
  9. */
  10. separator?: string;
  11. /**
  12. * @description icon component of icon separator
  13. */
  14. separatorIcon?: IconPropType;
  15. }
  16. /**
  17. * @deprecated Removed after 3.0.0, Use `BreadcrumbProps` instead.
  18. */
  19. declare const breadcrumbProps: {
  20. readonly separator: EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
  21. readonly separatorIcon: {
  22. readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>>;
  23. readonly required: false;
  24. readonly validator: ((val: unknown) => boolean) | undefined;
  25. __epPropKey: true;
  26. };
  27. };
  28. /**
  29. * @deprecated Removed after 3.0.0, Use `BreadcrumbProps` instead.
  30. */
  31. type BreadcrumbPropsPublic = ExtractPublicPropTypes<typeof breadcrumbProps>;
  32. //#endregion
  33. export { BreadcrumbProps, BreadcrumbPropsPublic, breadcrumbProps };