UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

48 lines (47 loc) 2.04 kB
import type { QCollapsePropModelValue } from './src/types'; import type { DefineComponent, PropType, Component, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue'; import type { SFCWithInstall, Nullable } from '../../../types/helpers'; export declare const QCollapse: SFCWithInstall<DefineComponent<{ modelValue: { type: PropType<QCollapsePropModelValue>; default: () => QCollapsePropModelValue; }; accordion: { type: BooleanConstructor; default: boolean; }; closeIcon: { type: PropType<Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>>; default: null; }; openIcon: { type: PropType<Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>>; default: null; }; }, void, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{ modelValue: { type: PropType<QCollapsePropModelValue>; default: () => QCollapsePropModelValue; }; accordion: { type: BooleanConstructor; default: boolean; }; closeIcon: { type: PropType<Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>>; default: null; }; openIcon: { type: PropType<Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>>; default: null; }; }>> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }, { modelValue: QCollapsePropModelValue; closeIcon: Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>; openIcon: Nullable<Component<any, any, any, ComputedOptions, MethodOptions>>; accordion: boolean; }>>; export type { QCollapseProps, QCollapseProvider, QCollapseInstance } from './src/types';