maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
49 lines (48 loc) • 1.68 kB
TypeScript
import { MazUiTranslationsNestedSchema } from '@maz-ui/translations';
import { DeepPartial } from '@maz-ui/utils/ts-helpers/DeepPartial';
export interface MazCarouselProps {
/**
* Hide display the scroll buttons
* @default false
*/
hideScrollButtons?: boolean;
/**
* Translations of the carousel
* @type {DeepPartial<MazUiTranslationsNestedSchema['carousel']>}
* @default Translations from @maz-ui/translations
*/
translations?: DeepPartial<MazUiTranslationsNestedSchema['carousel']>;
/**
* Hide the scrollbar when not active
* @default false
*/
hideScrollbar?: boolean;
/**
* The title of the carousel
*/
title?: string;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
title?(_: {}): any;
'previous-icon'?(_: {}): any;
'next-icon'?(_: {}): any;
default?(_: {}): any;
};
refs: {
MazCarouselItems: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<MazCarouselProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazCarouselProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
MazCarouselItems: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};