dk-plus
Version:
38 lines (37 loc) • 1.49 kB
TypeScript
import type { returnType } from '../..';
import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
declare const _sfc_main: DefineComponent<{
readonly title: returnType<PropType<string>, string | null>;
readonly name: returnType<PropType<string>, string | null>;
readonly icon: returnType<PropType<string>, string | null>;
readonly active: returnType<BooleanConstructor, boolean>;
readonly modelValue: returnType<BooleanConstructor, boolean>;
}, {
data: {
isActive: boolean;
with: number;
height: number;
};
title: Ref<string>;
icon: Ref<string>;
name: Ref<string>;
onClickTitle: () => void;
isActive: Ref<boolean>;
with: Ref<number>;
height: Ref<number>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes<{
readonly title: returnType<PropType<string>, string | null>;
readonly name: returnType<PropType<string>, string | null>;
readonly icon: returnType<PropType<string>, string | null>;
readonly active: returnType<BooleanConstructor, boolean>;
readonly modelValue: returnType<BooleanConstructor, boolean>;
}>> & {
onChange?: ((...args: any[]) => any) | undefined;
}, {
readonly name: string;
readonly icon: string;
readonly modelValue: boolean;
readonly title: string;
readonly active: boolean;
}, {}>;
export default _sfc_main;