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

adding custom buttons to carta md #52

Closed
cruzanstx opened this issue Apr 21, 2024 · 3 comments
Closed

adding custom buttons to carta md #52

cruzanstx opened this issue Apr 21, 2024 · 3 comments

Comments

@cruzanstx
Copy link

cruzanstx commented Apr 21, 2024

Is there an exposed method for adding additional buttons to the menu buttons of carta? I'm thinking of adding a dedicated save button but could see a use for adding other custom buttons by maybe passing in the icon and callback function. Is this capability exposed somewhere?

@BearToCode
Copy link
Owner

Hi, you need to add icons to a plugin. Check the docs here. The component prop is just the SvelteComponent imported from the Svelte file.

@cruzanstx
Copy link
Author

Will give this a shot later today, thanks for the quick response sir!

@BearToCode
Copy link
Owner

I'll close this for know, let me know if you need more help

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