* Radio / RadioGroup - WebRPA 主题定制单选按钮(不依赖原生 input[type=radio]) * * 用法: * * * * * * 也可单独使用 Radio(受控): * setX('a'
| 15 | */ |
| 16 | |
| 17 | interface RadioGroupContextValue { |
| 18 | value?: string |
| 19 | onValueChange?: (value: string) => void |
| 20 | name?: string |
| 21 | disabled?: boolean |
| 22 | } |
| 23 | |
| 24 | const RadioGroupContext = React.createContext<RadioGroupContextValue | null>(null) |
| 25 |
nothing calls this directly
no outgoing calls
no test coverage detected