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