(props: RadioProps)
| 4 | function useRadio() { |
| 5 | const [value, setValue] = useState<boolean>(false); |
| 6 | const MyRadio = (props: RadioProps) => <Radio checked={value} onClick={toggle} {...props}></Radio> |
| 7 | const toggle = () => { |
| 8 | setValue(value => !value); |
| 9 | } |
nothing calls this directly
no outgoing calls
no test coverage detected