mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
types(CheckboxGroup): toggleAll should allow boolean type (#8133)
This commit is contained in:
@@ -9,10 +9,12 @@ const [createComponent, bem] = createNamespace('checkbox-group');
|
|||||||
|
|
||||||
export const CHECKBOX_GROUP_KEY = 'vanCheckboxGroup';
|
export const CHECKBOX_GROUP_KEY = 'vanCheckboxGroup';
|
||||||
|
|
||||||
export type CheckboxGroupToggleAllOptions = {
|
export type CheckboxGroupToggleAllOptions =
|
||||||
checked?: boolean;
|
| boolean
|
||||||
skipDisabled?: boolean;
|
| {
|
||||||
};
|
checked?: boolean;
|
||||||
|
skipDisabled?: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
export type CheckboxGroupProvide = CheckerParent & {
|
export type CheckboxGroupProvide = CheckerParent & {
|
||||||
props: {
|
props: {
|
||||||
|
Reference in New Issue
Block a user