Files
crawlab/frontend/crawlab-ui/typings/components/ui/button/IconButton.vue.d.ts

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;
};
};