types(Tabs): use tsx (#8187)

This commit is contained in:
neverland
2021-02-20 17:49:34 +08:00
committed by GitHub
parent 9ad0eafae0
commit 906f01cc8e
15 changed files with 106 additions and 61 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ export default createComponent({
if (!parent) {
if (process.env.NODE_ENV !== 'production') {
console.error('[Vant] TabbarItem must be a child component of Tabbar.');
console.error(
'[Vant] <TabbarItem> must be a child component of <Tabbar>.'
);
}
return;
}