UNPKG

@cfxjs/react-ui

Version:

Modern and minimalist React UI library.

10 lines (9 loc) 309 B
import React from 'react'; export interface RadioConfig { updateState?: (value: string | number) => void; disabledAll: boolean; value?: string | number; inGroup: boolean; } export declare const RadioContext: React.Context<RadioConfig>; export declare const useRadioContext: () => RadioConfig;