Skip to content

921 FilePicker order of tabs and default tab #1980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

Ateina
Copy link
Contributor

@Ateina Ateina commented Apr 23, 2025

Q A
Bug fix? [ ]
New feature? [ X ]
New sample? [ ]
Related issues? fixes #921

This PR introduces enhancements to the FilePicker component:

tabOrder: Allows defining a custom display order for tabs. Tabs not included in the array will follow the default order. This respects the hide... props—if a tab is hidden, it will not be shown even if it's listed in tabOrder.

defaultSelectedTab: Sets the initially selected tab. If not specified or if the specified tab is hidden, the first visible tab is used instead.

PR adds the FilePickerTab enum to represent all available tab types in a type-safe way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant