mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
56 lines
1.1 KiB
Go
56 lines
1.1 KiB
Go
interface ButtonProps {
|
|
tooltip?: string;
|
|
type?: BasicType;
|
|
size?: BasicSize;
|
|
round?: boolean;
|
|
circle?: boolean;
|
|
plain?: boolean;
|
|
disabled?: boolean;
|
|
isIcon?: boolean;
|
|
loading?: boolean;
|
|
onClick?: () => void;
|
|
className?: string;
|
|
id?: string;
|
|
noMargin?: boolean;
|
|
}
|
|
|
|
declare const _default: import('vue').DefineComponent<
|
|
__VLS_TypePropsToOption<
|
|
ButtonProps & {
|
|
icon: string;
|
|
}
|
|
>,
|
|
{},
|
|
unknown,
|
|
{},
|
|
{},
|
|
import('vue').ComponentOptionsMixin,
|
|
import('vue').ComponentOptionsMixin,
|
|
{},
|
|
string,
|
|
import('vue').PublicProps,
|
|
Readonly<
|
|
import('vue').ExtractPropTypes<
|
|
__VLS_TypePropsToOption<
|
|
ButtonProps & {
|
|
icon: string;
|
|
}
|
|
>
|
|
>
|
|
>,
|
|
{},
|
|
{}
|
|
>;
|
|
export default _default;
|
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
type __VLS_TypePropsToOption<T> = {
|
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
? {
|
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
}
|
|
: {
|
|
type: import('vue').PropType<T[K]>;
|
|
required: true;
|
|
};
|
|
};
|