UNPKG

zent

Version:

一套前端设计语言和基于React的实现

12 lines (11 loc) 433 B
/// <reference types="react" /> import { IRadioEvent } from './AbstractRadio'; export interface IRadioContext<Value> { value: Value | undefined; isValueEqual(a: Value | undefined, b: Value | undefined): boolean; disabled: boolean; readOnly: boolean; onRadioChange: ((e: IRadioEvent<Value>) => void) | null | undefined; } declare const context: import("react").Context<IRadioContext<any>>; export default context;