@opentiny/vue-renderless
Version:
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
39 lines (35 loc) • 1.29 kB
TypeScript
import { ExtractPropTypes } from 'vue';
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
declare const breadcrumbItemProps: {
to: ObjectConstructor;
replace: {
type: BooleanConstructor;
default: boolean;
};
size: {
type: StringConstructor;
default: string;
validator: (val: string) => boolean;
};
option: {
type: ObjectConstructor;
default: () => {};
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_mcp_config: ObjectConstructor;
tiny_chart_theme: ObjectConstructor;
};
type IBreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
type IBreadcrumbItemRenderlessParams = ISharedRenderlessFunctionParams<never> & {
props: IBreadcrumbItemProps;
};
interface IBreadcrumbItemApi {
state: string | undefined;
linkClick: (event: MouseEvent) => void;
}
type IBreadcrumbItemRenderlessParamUtils = ISharedRenderlessParamUtils<never>;
export { IBreadcrumbItemApi, IBreadcrumbItemProps, IBreadcrumbItemRenderlessParamUtils, IBreadcrumbItemRenderlessParams };