import React from 'react'; import View from '../../../View'; import Image from '../../../Image'; interface RadioWidgetProps { type: 'checkbox' | 'radio'; active?: boolean; activeColor?: string; onClick?: () => void; } const RadioWidget = ({ type, active, activeColor, onClick }: RadioWidgetProps) => { return ( {active && (type === 'checkbox' ? ( ) : ( ))} ); }; export default RadioWidget;