first commit
This commit is contained in:
12
frontend/node_modules/antd/es/checkbox/GroupContext.d.ts
generated
vendored
Normal file
12
frontend/node_modules/antd/es/checkbox/GroupContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
import type { CheckboxOptionType } from './Group';
|
||||
export interface CheckboxGroupContext<T = any> {
|
||||
name?: string;
|
||||
toggleOption?: (option: CheckboxOptionType<T>) => void;
|
||||
value?: any;
|
||||
disabled?: boolean;
|
||||
registerValue: (val: T) => void;
|
||||
cancelValue: (val: T) => void;
|
||||
}
|
||||
declare const GroupContext: React.Context<CheckboxGroupContext<any> | null>;
|
||||
export default GroupContext;
|
||||
Reference in New Issue
Block a user