Skip to content
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 the folder based on the initial URL #14

Open
rodrigocgodoy opened this issue Feb 20, 2023 · 1 comment
Open

Open the folder based on the initial URL #14

rodrigocgodoy opened this issue Feb 20, 2023 · 1 comment

Comments

@rodrigocgodoy
Copy link

Hoje quando entra no site com uma determinada URL, ele não fica com a pasta aberta, seria interessante adicionar essa feature 🤪

image

@diego3g
Copy link
Owner

diego3g commented Feb 20, 2023

@rodrigocgodoy se quiser enviar uma PR! Basta no componente Folder setar o defaultOpen caso o pathname da URL, que pode ser obtido através do hook usePathName, conter a URL daquela pasta.

@diego3g diego3g changed the title Abrir o site com a pasta aberta em relação a URL Open the folder based on the initial URL Feb 23, 2023
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

No branches or pull requests

2 participants