27 lines
1.2 KiB
TypeScript
27 lines
1.2 KiB
TypeScript
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
|
export declare const buttonGroupProps: {
|
|
/**
|
|
* @description control the size of buttons in this button-group
|
|
*/
|
|
readonly size: {
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
readonly required: false;
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
__epPropKey: true;
|
|
};
|
|
/**
|
|
* @description control the type of buttons in this button-group
|
|
*/
|
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
/**
|
|
* @description display direction
|
|
*/
|
|
readonly direction: {
|
|
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
readonly values: readonly ["horizontal", "vertical"];
|
|
readonly default: "horizontal";
|
|
};
|
|
};
|
|
export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
|
|
export type ButtonGroupPropsPublic = __ExtractPublicPropTypes<typeof buttonGroupProps>;
|