UNPKG
file-fragment-upload
Version:
latest (3.0.0)
3.0.0
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
文件分片上传 获取文件hash值 文件分片
file-fragment-upload
/
dist
/
index.d.ts
9 lines
(8 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
*
as
React
from
'react'
;
import
{ getFileHash, getChunk }
from
'./utils'
;
export
interface
AppProps
{
uploadFiles
:
(
files
:
File
[]
) =>
void
; }
declare
const
App
:
React
.
FC
<
AppProps
>;
export
default
App
;
export
{ getFileHash, getChunk };