fix: import schedule file upload button (#515)

* fix: add active scale style and accept file prop

* chore: improve type safety using MIMEType

* fix: update FileUpload component to support multiple MIME types in accept prop

* chore: run lint

---------

Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
Ethan Lanting
2025-02-24 20:17:49 -06:00
committed by GitHub
parent 4a8d0666c2
commit 766c0bc1b4
3 changed files with 26 additions and 3 deletions

View File

@@ -17,4 +17,9 @@ const MIMEType = {
*/
export type MIMETypeKey = keyof typeof MIMEType;
/**
* Represents a value of the MIMEType object
*/
export type MIMETypeValue = (typeof MIMEType)[MIMETypeKey];
export default MIMEType;