Commit
Enhance SimpleUploadButton component with disclosure management
Commit details
Commit notes
This commit updates the `SimpleUploadButton` component to incorporate a disclosure mechanism for better UI interaction. Key changes include:
- **Disclosure Hook:** Added `useDisclosure` to manage the open/close state of the menu. - **Menu State Management:** Updated the `Menu` component to reflect the disclosure state, allowing for improved user experience. - **File Handling Improvements:** Ensured that the menu closes after file selection or folder change, enhancing usability.
These changes aim to streamline the file upload process and improve the overall user interface.
- Files changed
- 1
- Lines added
- +14
- Lines removed
- −1