types(Tabs): use tsx (#8187)
This commit is contained in:
@@ -31,7 +31,7 @@ export default createComponent({
|
||||
|
||||
if (!parent) {
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
console.error('[Vant] GridItem must be a child component of Grid.');
|
||||
console.error('[Vant] <GridItem> must be a child component of <Grid>.');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user