/** * Radio Component - Lynx 版 MUI Radio * 100% 一比一复刻 MUI Radio * * 圆形单选按钮,使用 CSS 实现图标 * * 对应 MUI: packages/mui-material/src/Radio/Radio.js */ import './Radio.css'; import radioClasses, { getRadioUtilityClass } from './radioClasses'; export { radioClasses, getRadioUtilityClass }; export type RadioColor = 'primary' | 'secondary' | 'default' | 'error' | 'info' | 'success' | 'warning'; export type RadioSize = 'small' | 'medium'; export interface RadioProps { /** 自定义类名 */ className?: string; /** 样式类覆盖 */ classes?: Partial; /** 是否选中 */ checked?: boolean; /** 选中图标 */ checkedIcon?: any; /** 默认是否选中 */ defaultChecked?: boolean; /** 是否禁用 */ disabled?: boolean; /** 是否禁用涟漪 */ disableRipple?: boolean; /** 未选中图标 */ icon?: any; /** ID 属性 */ id?: string; /** 传递给 input 元素的 props */ inputProps?: Record; /** input 元素的 ref */ inputRef?: any; /** name 属性 */ name?: string; /** 是否必填 */ required?: boolean; /** 颜色 - 默认 primary */ color?: RadioColor; /** 尺寸 */ size?: RadioSize; /** 内联样式 */ style?: Record; /** sx 属性 */ sx?: Record; /** 值 */ value?: string; /** 点击事件 */ bindtap?: (event?: any) => void; onChange?: (event: any, checked: boolean) => void; } export declare function Radio(props: RadioProps): JSX.Element; export default Radio; //# sourceMappingURL=index.d.ts.map