import React from 'react'; import './index.scss'; export type RadioGroupItemType = 'button' | 'text'; export interface RadioGroupItemProps { /** * 选项 */ label: string; /** * 值 */ value: string; /** * 是否选中 */ checked: boolean; /** * 选中颜色 */ selectColor?: string; /** * 选中的文字颜色 */ selectTextColor?: string; /** * 未选中颜色 */ unSelectColor?: string; /** * 未选中的文字颜色 */ unSelectTextColor?: string; /** * 类型 */ type?: RadioGroupItemType; /** * 名称 */ name: string; /** * 改变事件 * @param value */ onChange: (value: string) => void; } declare const RadioGroupItem: React.FC; export default RadioGroupItem;