types(Tabs): use tsx (#8187)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user