@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
26 lines (25 loc) • 1.7 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { Router } from 'vue-router';
import { ConfigurableProps } from '@vexip-ui/config';
import { BreadcrumbOptions, BreadcrumbSlots } from './symbol';
export declare const breadcrumbProps: {
inherit: PropType<boolean>;
separator: PropType<string>;
border: PropType<boolean>;
options: PropType<(string | BreadcrumbOptions)[]>;
router: PropType<Router>;
slots: PropType<BreadcrumbSlots>;
onSelect: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>;
onSeparatorClick: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>;
};
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
export type BreadcrumbCProps = ConfigurableProps<BreadcrumbProps>;
export declare const breadcrumbItemProps: {
label: {
type: (NumberConstructor | StringConstructor)[];
default: null;
};
onSelect: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>;
onSeparatorClick: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>;
};
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;