Prevent passing to Svelte components
This commit is contained in:
parent
190e03b5ce
commit
303f32fda0
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ import SvelteWrapper from './Wrapper.svelte';
|
||||||
|
|
||||||
export default (target) => {
|
export default (target) => {
|
||||||
return (component, props, children) => {
|
return (component, props, children) => {
|
||||||
|
delete props['class'];
|
||||||
try {
|
try {
|
||||||
new SvelteWrapper({
|
new SvelteWrapper({
|
||||||
target,
|
target,
|
||||||
|
|
Loading…
Add table
Reference in a new issue