nuxt-users
Version:
A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools
38 lines (37 loc) • 1.35 kB
TypeScript
interface LogoutLinkProps {
redirectTo?: string;
linkText?: string;
confirmMessage?: string;
class?: string;
style?: string | Record<string, string | number>;
linkClass?: string;
linkStyle?: string | Record<string, string | number>;
errorClass?: string;
errorStyle?: string | Record<string, string | number>;
containerClass?: string;
containerStyle?: string | Record<string, string | number>;
}
declare var __VLS_1: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_1) => any;
};
declare const __VLS_component: import("vue").DefineComponent<LogoutLinkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
click: () => any;
error: (error: string) => any;
success: () => any;
}, string, import("vue").PublicProps, Readonly<LogoutLinkProps> & Readonly<{
onClick?: (() => any) | undefined;
onError?: ((error: string) => any) | undefined;
onSuccess?: (() => any) | undefined;
}>, {
redirectTo: string;
linkText: string;
confirmMessage: 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;
};
};