UNPKG

@bytedance/mona-client-web

Version:

web for mona

11 lines (10 loc) 512 B
import React from 'react'; import { RadioGroupProps, TouchEvent } from '@bytedance/mona'; interface RadioGroupContextProps { initValue: (value?: string, checked?: boolean, clear?: () => void) => number; changeValue: (index: number, value?: string) => void; toggleChecked: (index: number, checked?: boolean, e?: TouchEvent) => void; } export declare const RadioGroupContext: React.Context<RadioGroupContextProps | null>; declare const RadioGroup: React.FC<RadioGroupProps>; export default RadioGroup;