interface.d.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare const flexProps: () => {
  3. prefixCls: {
  4. type: import("vue").PropType<string>;
  5. default: string;
  6. };
  7. vertical: {
  8. type: BooleanConstructor;
  9. default: boolean;
  10. };
  11. wrap: {
  12. type: import("vue").PropType<import("csstype").Property.FlexWrap>;
  13. default: import("csstype").Property.FlexWrap;
  14. };
  15. justify: {
  16. type: import("vue").PropType<import("csstype").Property.JustifyContent>;
  17. default: import("csstype").Property.JustifyContent;
  18. };
  19. align: {
  20. type: import("vue").PropType<import("csstype").Property.AlignItems>;
  21. default: import("csstype").Property.AlignItems;
  22. };
  23. flex: {
  24. type: import("vue").PropType<import("csstype").Property.Flex<string | number>>;
  25. default: import("csstype").Property.Flex<string | number>;
  26. };
  27. gap: {
  28. type: import("vue").PropType<string | number | (string & {})>;
  29. default: string | number | (string & {});
  30. };
  31. component: {
  32. default: any;
  33. type: import("vue").PropType<any>;
  34. };
  35. };
  36. export type FlexProps = Partial<ExtractPropTypes<ReturnType<typeof flexProps>> & HTMLElement>;