vue-bare
Version:
**Unstyled Vue components for frustration-free human interactions**
31 lines (30 loc) • 1.16 kB
TypeScript
import { ClassValue } from './types';
export interface EmailInputBareProps {
/**
* @see [Apple Docs](https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element)
* @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
*/
autocomplete: 'off' | 'username' | 'email';
id: string;
name: string;
autofocus?: boolean;
class?: ClassValue;
disabled?: boolean;
placeholder?: string;
modelValue?: string;
value?: string;
}
interface Props extends EmailInputBareProps {
class: ClassValue;
}
declare const _default: import('vue').DefineComponent<Props, {
focus: () => void;
blur: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string) => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
"onUpdate:modelValue"?: (value: string) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
'input-ref': HTMLInputElement;
}, HTMLInputElement>;
export default _default;