IO-1104 UI update for bills upload.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
import { UploadOutlined } from "@ant-design/icons";
|
||||||
import { useApolloClient } from "@apollo/client";
|
import { useApolloClient } from "@apollo/client";
|
||||||
import {
|
import {
|
||||||
Button,
|
|
||||||
Divider,
|
Divider,
|
||||||
Form,
|
Form,
|
||||||
Input,
|
Input,
|
||||||
@@ -316,9 +316,21 @@ export function BillFormComponent({
|
|||||||
return e && e.fileList;
|
return e && e.fileList;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Upload name="logo" beforeUpload={() => false} listType="picture">
|
<Upload.Dragger
|
||||||
<Button>Click to upload</Button>
|
multiple={true}
|
||||||
</Upload>
|
name="logo"
|
||||||
|
beforeUpload={() => false}
|
||||||
|
listType="picture"
|
||||||
|
>
|
||||||
|
<>
|
||||||
|
<p className="ant-upload-drag-icon">
|
||||||
|
<UploadOutlined />
|
||||||
|
</p>
|
||||||
|
<p className="ant-upload-text">
|
||||||
|
Click or drag files to this area to upload.
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
</Upload.Dragger>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user