@nethesis/vue-components
Version:
This library contains: - a collection of Vue 3 components based on [Flowbite](https://flowbite.com/) - a set of utility functions
35 lines • 1.2 kB
TypeScript
import { type IconDefinition } from '@fortawesome/fontawesome-svg-core';
export interface Props {
items: NeDropdownItem[];
alignToRight?: boolean;
openMenuAriaLabel?: string;
menuClasses?: string;
}
export interface NeDropdownItem {
id: string;
label?: string;
icon?: IconDefinition;
danger?: boolean;
action?: () => void;
disabled?: boolean;
}
declare var __VLS_16: {}, __VLS_37: {};
type __VLS_Slots = {} & {
button?: (props: typeof __VLS_16) => any;
} & {
menuHeader?: (props: typeof __VLS_37) => any;
};
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
items: NeDropdownItem[];
alignToRight: boolean;
openMenuAriaLabel: string;
menuClasses: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=NeDropdown.vue.d.ts.map