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

Example of onCreate, onRename, onDelete #163

Open
holy-dev opened this issue Jul 27, 2023 · 3 comments
Open

Example of onCreate, onRename, onDelete #163

holy-dev opened this issue Jul 27, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@holy-dev
Copy link

I cannot get it to work. It'll be really helpful if anyone can share an example as the documentation doesn't have it.

I'm using nextjs with typescript.

@mawnir
Copy link

mawnir commented Jan 18, 2024

+1

@CHE1RON
Copy link

CHE1RON commented Jan 19, 2024

Have a look at the hooks being implemented in this PR. Apparently, they are called whenever their corresponding action is executed (eg rename on enter, move on drag&drop, etc) or hotkeys are pressed (eg shift+a for creating a folder) - does that help you? 😉

@jameskerr jameskerr added the documentation Improvements or additions to documentation label Feb 7, 2024
@jameskerr
Copy link
Member

Note to improve documentation here.

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

No branches or pull requests

4 participants