import React from 'react'; interface Props { /** * 是否选择 */ value?: boolean; /** * 默认是否选择 */ defaultValue?: boolean; /** * 是否禁用 */ disabled?: boolean; /** * 组件变化回调 */ onChange?: (val: boolean) => void; /** * 背景颜色 * @default 主题色 */ color?: string; /** * 可以控制整个组件的大小(组件高度为两倍fontSize) * @default 25 */ fontSize?: number | string; /** * 外层样式 */ className?: boolean; /** * 圆的样式 */ circleCls?: boolean; /** * 外层样式 */ style?: React.CSSProperties; } declare const _default: ({ value, defaultValue, className, style, disabled, circleCls, fontSize, color, onChange, }: Props) => React.JSX.Element; export default _default;