oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
29 lines (28 loc) • 1.14 kB
TypeScript
type __VLS_Props = {
title?: string;
/** Show a loading spinner and disable the form while the login is being verified. */
checking?: boolean;
/** Error message to display when login fails. Triggers a shake animation. */
error?: string;
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
footer?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
login: (username: string, password: string) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
onLogin?: ((username: string, password: string) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};