IO-1104 UI update for bills upload.

This commit is contained in:
Patrick Fic
2021-05-18 16:29:08 -07:00
parent 8fefc6169c
commit 0df98afbed

View File

@@ -1,6 +1,6 @@
import { UploadOutlined } from "@ant-design/icons";
import { useApolloClient } from "@apollo/client";
import {
Button,
Divider,
Form,
Input,
@@ -316,9 +316,21 @@ export function BillFormComponent({
return e && e.fileList;
}}
>
<Upload name="logo" beforeUpload={() => false} listType="picture">
<Button>Click to upload</Button>
</Upload>
<Upload.Dragger
multiple={true}
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>
</div>
);