@archway-kit/vue
Version:
Vue components to interact with the Archway network
34 lines (33 loc) • 1.16 kB
TypeScript
type Props = {
label?: string;
options: {
label: string;
href?: string;
onClick?: () => void;
}[];
footer?: string;
buttonOpenClassName?: string;
optionsContainerClassName?: string;
optionClassName?: string;
position: 'top-right' | 'bottom-right' | 'bottom-left' | 'top-left';
};
declare function __VLS_template(): {
slots: {
default?(_: {
open: any;
}): any;
};
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
position: "top-right" | "bottom-right" | "bottom-left" | "top-left";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};