element-plus
Version:
A Component Library for Vue 3
27 lines (26 loc) • 1.21 kB
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>;