UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

30 lines (29 loc) 768 B
import { ExtractPropTypes } from 'vue'; export type PanelType = 'default' | 'primary' | 'success' | 'danger' | 'warning' | 'info'; export declare const panelProps: { type: { type: () => PanelType; default: string; }; cssClass: { type: StringConstructor; default: string; }; isCollapsed: { type: BooleanConstructor; default: boolean; }; beforeToggle: { type: () => (value: boolean, done?: () => void) => unknown; default: null; }; showAnimation: { type: BooleanConstructor; default: boolean; }; hasLeftPadding: { type: BooleanConstructor; default: boolean; }; }; export type PanelProps = ExtractPropTypes<typeof panelProps>;