UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

13 lines (12 loc) 529 B
import { UnionOmit } from '@co-hooks/util'; import React from 'react'; import { ICheckWrapperProps } from '../check-wrapper'; export interface IRadio { checked?: boolean; disabled?: boolean; onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void; } declare type OmitCheckWrapperPropKeys = 'type' | 'checkedWave' | 'waveElementRef'; export declare type IRadioProps = UnionOmit<IRadio, Omit<ICheckWrapperProps, OmitCheckWrapperPropKeys>>; export declare function Radio(props: IRadioProps): JSX.Element; export {};