button-group.d.ts 1.2 KB

1234567891011121314151617181920212223242526
  1. import type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue';
  2. export declare const buttonGroupProps: {
  3. /**
  4. * @description control the size of buttons in this button-group
  5. */
  6. readonly size: {
  7. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
  8. readonly required: false;
  9. readonly validator: ((val: unknown) => boolean) | undefined;
  10. __epPropKey: true;
  11. };
  12. /**
  13. * @description control the type of buttons in this button-group
  14. */
  15. readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
  16. /**
  17. * @description display direction
  18. */
  19. readonly direction: {
  20. readonly type: import("vue").PropType<"horizontal" | "vertical">;
  21. readonly values: readonly ["horizontal", "vertical"];
  22. readonly default: "horizontal";
  23. };
  24. };
  25. export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
  26. export type ButtonGroupPropsPublic = ExtractPublicPropTypes<typeof buttonGroupProps>;