114 lines
2.9 KiB
TypeScript
114 lines
2.9 KiB
TypeScript
import "./fs-button.less";
|
||
/**
|
||
* 按钮,支持el-button/a-button的配置
|
||
*/
|
||
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
||
/**
|
||
* 文字
|
||
*/
|
||
text: {
|
||
type: StringConstructor;
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 图标
|
||
*/
|
||
icon: {
|
||
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 右边的图标
|
||
*/
|
||
iconRight: {
|
||
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 是否圆形按钮,text需配置为null
|
||
*/
|
||
circle: {
|
||
type: BooleanConstructor;
|
||
default: boolean;
|
||
required: false;
|
||
};
|
||
/**
|
||
* tooltip配置,为空不显示tooltip
|
||
*/
|
||
tooltip: {
|
||
type: ObjectConstructor;
|
||
default: any;
|
||
};
|
||
/**
|
||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||
* 比如:n-button的text
|
||
*/
|
||
buttonProps: {
|
||
type: ObjectConstructor;
|
||
default: any;
|
||
};
|
||
className: {};
|
||
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||
[key: string]: any;
|
||
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
||
/**
|
||
* 文字
|
||
*/
|
||
text: {
|
||
type: StringConstructor;
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 图标
|
||
*/
|
||
icon: {
|
||
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 右边的图标
|
||
*/
|
||
iconRight: {
|
||
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
||
default: string;
|
||
required: false;
|
||
};
|
||
/**
|
||
* 是否圆形按钮,text需配置为null
|
||
*/
|
||
circle: {
|
||
type: BooleanConstructor;
|
||
default: boolean;
|
||
required: false;
|
||
};
|
||
/**
|
||
* tooltip配置,为空不显示tooltip
|
||
*/
|
||
tooltip: {
|
||
type: ObjectConstructor;
|
||
default: any;
|
||
};
|
||
/**
|
||
* x-button的配置,当x-button的配置与fs-button的配置有冲突时可以配置在此处
|
||
* 比如:n-button的text
|
||
*/
|
||
buttonProps: {
|
||
type: ObjectConstructor;
|
||
default: any;
|
||
};
|
||
className: {};
|
||
}>> & Readonly<{}>, {
|
||
text: string;
|
||
circle: boolean;
|
||
icon: string | Function | Record<string, any>;
|
||
iconRight: string | Function | Record<string, any>;
|
||
tooltip: Record<string, any>;
|
||
buttonProps: Record<string, any>;
|
||
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
||
export default _default;
|