UNPKG

@alicloud/console-components

Version:

Alibaba Cloud React Components

37 lines (36 loc) 3.19 kB
/// <reference types="react" /> import { Checkbox } from '@alifd/next'; export declare const CheckboxGroup: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/checkbox").GroupProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, { getChildContext(): { __group__: boolean; onChange: (currentValue: import("@alifd/next/types/checkbox").ValueItem, event: import("react").ChangeEvent<HTMLInputElement>) => void; selectedValue: import("@alifd/next/types/checkbox").ValueItem[]; disabled: boolean; }; onChange(currentValue: import("@alifd/next/types/checkbox").ValueItem, event: import("react").ChangeEvent<HTMLInputElement>): void; render(): import("react").JSX.Element; context: any; setState<K extends "value">(state: import("@alifd/next/types/checkbox/types").GroupState | ((prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, props: Readonly<import("@alifd/next/types/checkbox").GroupProps>) => import("@alifd/next/types/checkbox/types").GroupState | Pick<import("@alifd/next/types/checkbox/types").GroupState, K>) | Pick<import("@alifd/next/types/checkbox/types").GroupState, K>, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly<import("@alifd/next/types/checkbox").GroupProps> & Readonly<{ children?: import("react").ReactNode; }>; state: Readonly<import("@alifd/next/types/checkbox/types").GroupState>; refs: { [key: string]: import("react").ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>): any; componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextContext: any): void; componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): void; }, {}>; export default Checkbox; export type { CheckboxProps, GroupProps as CheckboxGroupProps } from '@alifd/next/types/checkbox';