@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
63 lines (62 loc) • 2.04 kB
TypeScript
import { type ExtractPublicPropTypes, type PropType } from 'vue';
import { type ThemeComponent } from '../../composables/useTheme';
declare const breadcrumbsProps: {
items: PropType<BreadcrumbsItem[]>;
separator: {
type: StringConstructor;
default: string;
};
icon: StringConstructor;
shadow: BooleanConstructor;
underline: BooleanConstructor;
color: {
readonly type: StringConstructor;
readonly default: string | undefined;
};
};
export type BreadcrumbsItem = {
label: string;
to?: string | object;
href?: string;
color?: string;
icon?: string;
shadow?: boolean;
underline?: boolean;
};
export type BreadcrumbsProps = ExtractPublicPropTypes<typeof breadcrumbsProps>;
type InternalClasses = 'wrapper' | 'item' | 'separator';
export interface BreadcrumbsTheme extends ThemeComponent<BreadcrumbsProps, InternalClasses> {
}
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
items: PropType<BreadcrumbsItem[]>;
separator: {
type: StringConstructor;
default: string;
};
icon: StringConstructor;
shadow: BooleanConstructor;
underline: BooleanConstructor;
color: {
readonly type: StringConstructor;
readonly default: string | undefined;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
items: PropType<BreadcrumbsItem[]>;
separator: {
type: StringConstructor;
default: string;
};
icon: StringConstructor;
shadow: BooleanConstructor;
underline: BooleanConstructor;
color: {
readonly type: StringConstructor;
readonly default: string | undefined;
};
}>> & Readonly<{}>, {
color: string;
separator: string;
shadow: boolean;
underline: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;