chore: using symbol as provide key (#8260)
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import { useChildren } from '@vant/use';
|
||||
|
||||
const [createComponent, bem] = createNamespace('grid');
|
||||
|
||||
export const GRID_KEY = 'vanGrid';
|
||||
export const GRID_KEY = Symbol('Grid');
|
||||
|
||||
export type GridDirection = 'horizontal' | 'vertical';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user