import React, { ReactNode } from "react"; import Group from "./Group"; import type { XHComponentCommonProps } from "../../types"; declare type CompoundedComponent = React.ForwardRefExoticComponent> & { Group: typeof Group; }; export declare type XHCheckboxProps = { onChange?: (check: boolean, value: string) => void; checked?: boolean; name?: string; label: string | ReactNode; size?: number; circle?: boolean; align?: "center" | "end"; direction?: "rtl"; justify?: "around" | "between"; value?: string | number; id?: string; disabled?: boolean; style?: React.CSSProperties; /** * 抖音不支持属性选择器 * @description 主要为抖音支持颜色 */ color?: string; /** * 选中状态下打勾icon的颜色 */ iconColor?: string; dataTrackId?: string; } & XHComponentCommonProps; declare const CheckBox: CompoundedComponent; export default CheckBox;