ix
ix copied to clipboard
The uplod component support different states but not demonstrated in the document
What happened?
Upload support following states UploadFileState.LOADING | UploadFileState.SELECT_FILE | UploadFileState.UPLOAD_FAILED | UploadFileState.UPLOAD_SUCCESSED
But no idea on how the UI should look when the component fails to upload? or is successful? In both figma and in the IX docs
Hi @supreethaPavank,
as soon as the status "UPLOAD_FAILD" is set the component will display an error icon and the message text defined by "uploadFailedText" or "uploadSuccessText". We will consider to update the documentation of this component to also show these examples.
Internal ref [IX-914]