@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
13 lines (12 loc) • 418 B
TypeScript
import { CheckboxLimit, PositionX } from "../../types";
declare const CheckboxGroupContext: import("react").Context<{
labelPosition: PositionX;
disabled: boolean | undefined;
list: boolean;
value: string[];
max: number | undefined;
check: (value: string) => void;
uncheck: (value: string) => void;
onLimit: (type: CheckboxLimit) => void;
} | null>;
export default CheckboxGroupContext;