context.d.ts 626 B

1234567891011121314151617181920
  1. import { FC } from 'react';
  2. import { HandleUploadingFileNumType } from './types';
  3. export declare const DageUploadContext: import("react").Context<{
  4. /**
  5. * 是否上传中
  6. */
  7. uploading: boolean;
  8. handleUploadingFileNum: (type: HandleUploadingFileNumType) => void;
  9. } | null>;
  10. export declare const DageUploadConsumer: import("react").Consumer<{
  11. /**
  12. * 是否上传中
  13. */
  14. uploading: boolean;
  15. handleUploadingFileNum: (type: HandleUploadingFileNumType) => void;
  16. } | null>;
  17. export declare const DageUploadProvider: FC<{
  18. children: React.ReactNode;
  19. }>;
  20. //# sourceMappingURL=context.d.ts.map