UNPKG

@jiaozhiye/qm-design-vue

Version:

A Component Library for Vue3.0

47 lines (46 loc) 1.2 kB
import type { PropType, CSSProperties, ExtractPropTypes, StyleValue } from 'vue'; import type { Arrayable, ComponentSize, JSXElement } from '../../_utils/types'; export declare const _props: { defaultActive: { type: BooleanConstructor; default: boolean; }; size: { type: PropType<ComponentSize>; validator: (val: string) => boolean; }; label: { type: StringConstructor; required: boolean; }; extra: { type: PropType<string | JSXElement>; }; bordered: { type: BooleanConstructor; default: boolean; }; disabled: { type: BooleanConstructor; }; forceRender: { type: BooleanConstructor; }; destroyOnClose: { type: BooleanConstructor; }; class: { type: PropType<string | Arrayable<Record<string, boolean>>>; }; style: { type: PropType<StyleValue>; }; containerStyle: { type: PropType<string | CSSProperties>; }; }; export declare const _emits: { change: (value: boolean) => boolean; }; export type CollapseProps = ExtractPropTypes<typeof _props>; export type CollapseEmits = typeof _emits;