Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants