chore: using symbol as provide key (#8260)

This commit is contained in:
neverland
2021-03-04 10:58:36 +08:00
committed by GitHub
parent d20a2bd578
commit 831091182a
15 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { CheckerParent, CheckerDirection } from '../checkbox/Checker';
const [createComponent, bem] = createNamespace('checkbox-group');
export const CHECKBOX_GROUP_KEY = 'vanCheckboxGroup';
export const CHECKBOX_GROUP_KEY = Symbol('CheckboxGroup');
export type CheckboxGroupToggleAllOptions =
| boolean