-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add Custom new file icon and new folder icon #65
Labels
Comments
I think something like this should work? const FileIcon = ({ onClick: defaultOnClick, nodeData }) => {
const handleClick = () => {
showDialogWindow(); // depends on how the dialog window is implemented
};
return <FaBitcoin onClick={ handleClick } />;
}; |
Thanks for the suggestion, will add it as a enhancement in later versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to customize the new file icon and the folder icon, so that when I press them I can show my dialog window, instead than creating the default file named "new file" and the default folder.
Also, it would be great if the event state contains the path of the new file/folder created.
Is that possible?
The text was updated successfully, but these errors were encountered: