|
|
@@ -1,14 +1,11 @@ |
|
|
|
```jsx |
|
|
|
import React from 'react'; |
|
|
|
import FileStatus from '@/components/FileStatus'; |
|
|
|
import dayjs from 'dayjs'; |
|
|
|
|
|
|
|
export default () => ( |
|
|
|
<> |
|
|
|
<FileStatus type="upload" loadingState="loading" progress={30} /> |
|
|
|
<FileStatus type="upload" loadingState="complete" result="success" /> |
|
|
|
<FileStatus type="upload" loadingState="complete" result="fail" /> |
|
|
|
<FileStatus type="download" loadingState="complete" result="success" /> |
|
|
|
<FileStatus type="download" loadingState="complete" result="fail" /> |
|
|
|
<FileStatus data={{ notifyType: 1, taskCreateDate: dayjs() }} /> |
|
|
|
</> |
|
|
|
) |
|
|
|
``` |