UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

11 lines (10 loc) 490 B
/// <reference types="react" /> import { UnionOmit } from '@co-hooks/util'; import { IRadioProps } from '../radio'; import { IRadioGroupExtraProps } from './Group'; export interface IRadioGroupItemProps<T> extends Partial<IRadioGroupExtraProps> { disabled?: boolean; value: T; } export declare type IRadioGroupRadioProps<T> = UnionOmit<IRadioGroupItemProps<T>, Omit<IRadioProps, 'checked'>>; export declare function RadioGroupRadio<T>(props: IRadioGroupRadioProps<T>): JSX.Element;