vue-bare
Version:
**Unstyled Vue components for frustration-free human interactions**
38 lines (37 loc) • 1.32 kB
TypeScript
import { ClassValue } from './types';
export interface SwitchBareProps {
id: string;
name: string;
class?: ClassValue;
disabled?: boolean;
value?: boolean;
}
interface Props extends SwitchBareProps {
class: ClassValue;
}
type __VLS_Props = Props;
declare const model: import('vue').ModelRef<boolean, string, boolean, boolean>;
type __VLS_PublicProps = {
modelValue?: typeof model['value'];
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: boolean) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: (value: boolean) => any;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};