No Description

index.d.ts 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /// <reference types="react" />
  2. import React from "react";
  3. import { RefObject } from "react";
  4. import { Input } from "antd";
  5. interface AllocWantedModalProps {
  6. allocValue: string | number | null;
  7. sendValueRange: Array<string | number>;
  8. sendRequest: Function;
  9. sendGiftData: {
  10. answerId: string | number;
  11. questionId: string | number;
  12. toUserId: string | number;
  13. };
  14. handleVisibleChange: (visible: boolean) => void;
  15. }
  16. interface AllocWantedModalState {
  17. visible: boolean;
  18. outRangeTip: boolean;
  19. sendValue: string | number;
  20. }
  21. declare class AllocWantedModal extends React.Component<
  22. AllocWantedModalProps,
  23. AllocWantedModalState
  24. > {
  25. ModalInputRef: RefObject<Input>;
  26. ModalContentRef: RefObject<any>;
  27. constructor(props: AllocWantedModalProps);
  28. handleSendValueChange: (v: React.ReactText) => void;
  29. checkSendValue: () => boolean;
  30. handleCloseAction: () => void;
  31. handleShowAction: () => void;
  32. handleConfirm: () => null | undefined;
  33. renderCloseButton: () => JSX.Element;
  34. renderModalContent: () => JSX.Element;
  35. render(): JSX.Element;
  36. }
  37. export { AllocWantedModal as default };