import { classNames } from 'mixlea-utils-js'; import { View } from '@tarojs/components'; import type { MlRadioProps } from './types'; export function MlRadio(props: MlRadioProps) { const handleChange = () => { if (!props.disable) { props.onChange?.(!props.checked, { dataset: props.dataset }); } }; return ( {props.checked ? ( ) : null} ); }