UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

48 lines (47 loc) 1.88 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; import { TabsSlots } from './symbol'; export declare const tabsProps: { lazy: { type: BooleanConstructor; default: null; }; lazyLoad: { type: BooleanConstructor; default: null; }; slots: PropType<TabsSlots>; inherit: PropType<boolean>; active: PropType<string | number>; onChange: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; placement: PropType<"bottom" | "top" | "right" | "left">; card: PropType<boolean>; onClose: PropType<((value: string) => void) | ((value: string | number) => void) | ((value: number) => void) | (((value: string) => void) | ((value: string | number) => void) | ((value: number) => void))[]>; closable: PropType<boolean>; align: PropType<"center" | "right" | "left">; showAdd: PropType<boolean>; onAdd: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; }; export type TabsProps = ExtractPropTypes<typeof tabsProps>; export type TabsCProps = ConfigurableProps<TabsProps>; export declare const tabPanelProps: { lazy: { type: BooleanConstructor; default: null; }; lazyLoad: { type: BooleanConstructor; default: null; }; name: { type: StringConstructor; default: string; }; inherit: PropType<boolean>; label: PropType<string | number>; disabled: PropType<boolean>; icon: PropType<any>; closable: PropType<boolean>; onToggle: PropType<((active: boolean) => void) | ((active: boolean) => void)[]>; }; export type TabPanelProps = ExtractPropTypes<typeof tabPanelProps>;