import React from 'react'; import { Pressable, View } from 'react-native'; import { IconXMarksmall1 } from '../../../icons'; import { CheckboxIconProps } from '../../../core'; import { useTheme } from '../../Theme'; const SingleCheckboxIcon: React.FC = ({ active, disabled, onPress, size, }) => { const token = useTheme(); const getIconComponent = () => { if (active) { return ( ); } return ; //占位 }; return !disabled ? ( {getIconComponent()} ) : ( getIconComponent() ); }; export default SingleCheckboxIcon;