MCPcopy
hub / github.com/pmh1314520/WebRPA / RadioGroupContextValue

Interface RadioGroupContextValue

frontend/src/components/ui/radio-group.tsx:17–22  ·  view source on GitHub ↗

* Radio / RadioGroup - WebRPA 主题定制单选按钮(不依赖原生 input[type=radio]) * * 用法: * * * * * * 也可单独使用 Radio(受控): * setX('a'

Source from the content-addressed store, hash-verified

15 */
16
17interface RadioGroupContextValue {
18 value?: string
19 onValueChange?: (value: string) => void
20 name?: string
21 disabled?: boolean
22}
23
24const RadioGroupContext = React.createContext<RadioGroupContextValue | null>(null)
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected