[FIX] portal: do not crash in dev mode

Before this commit, the props validation would fail in dev mode because
it did not expect a slot prop.
This commit is contained in:
Géry Debongnie
2021-12-21 16:26:29 +01:00
committed by Aaron Bohy
parent aad6b806ba
commit 3c98ef8cb1
3 changed files with 55 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ export class Portal extends Component {
target: {
type: String,
},
slots: true,
};
constructor(props: any, env: any, node: ComponentNode) {