import React from "react";

export interface OnChangeParams {
    target: {
        checked: boolean;
    };
}
export interface CheckboxPropsType {
    defaultChecked?: boolean;
    checked?: boolean;
    disabled?: boolean;
    reverse?:boolean;
    onChange?: (params: OnChangeParams) => void;
}

export interface CheckboxItemPropsType extends CheckboxPropsType {
    extra?: React.ReactNode;
    prefixCls?: string;
    onPress?: (e?: any) => void;
}
