@indielayer/ui
Version:
Indielayer UI Components with Tailwind CSS build for Vue 3
64 lines (63 loc) • 1.97 kB
TypeScript
import { type ExtractPublicPropTypes, type PropType } from 'vue';
import { type ThemeComponent } from '../../composables/useTheme';
declare const accordionProps: {
tag: {
type: StringConstructor;
default: string;
};
disabled: BooleanConstructor;
expanded: BooleanConstructor;
showIcon: {
type: BooleanConstructor;
default: boolean;
};
icon: StringConstructor;
iconAlign: PropType<"left" | "right">;
};
export type AccordionProps = ExtractPublicPropTypes<typeof accordionProps>;
export type AccordionInjection = AccordionProps & {
isInsideAccordion: boolean;
};
type InternalClasses = 'wrapper';
export interface AccordionTheme extends ThemeComponent<AccordionProps, InternalClasses> {
}
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
tag: {
type: StringConstructor;
default: string;
};
disabled: BooleanConstructor;
expanded: BooleanConstructor;
showIcon: {
type: BooleanConstructor;
default: boolean;
};
icon: StringConstructor;
iconAlign: PropType<"left" | "right">;
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
tag: {
type: StringConstructor;
default: string;
};
disabled: BooleanConstructor;
expanded: BooleanConstructor;
showIcon: {
type: BooleanConstructor;
default: boolean;
};
icon: StringConstructor;
iconAlign: PropType<"left" | "right">;
}>> & Readonly<{}>, {
disabled: boolean;
tag: string;
expanded: boolean;
showIcon: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};