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

[FR] allow to "override" registered element #105

Closed
farfromrefug opened this issue Jan 28, 2020 · 2 comments
Closed

[FR] allow to "override" registered element #105

farfromrefug opened this issue Jan 28, 2020 · 2 comments

Comments

@farfromrefug
Copy link
Collaborator

I use my own custom component for buttons, labels,...
So i like to "override" the native element to keep my app clean
Right now it is not possible with svelte-native

throw new Error(`Element for ${normalizedName} already registered.`)

Would you be willing to allow it?
May be through an option?

I can make a PR if we decide on the way forward

@halfnelson
Copy link
Owner

yeah, I don't see why not

@halfnelson
Copy link
Owner

Merged your PR. Thanks !

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