import * as React from 'react'; import { StandardProps } from './types'; import { SwitchBaseProps } from './switch'; import { FormGroupProps } from './form'; export interface RadioProps extends StandardProps { /** * @name Color * */ color?: RadioColor; /** @name Checked Icon */ checkedIcon?: React.ReactNode; /** @name Icon */ icon?: React.ReactNode; } export interface RadioGroupProps extends StandardProps { /** * @name Name * @description The name used to reference the value of the control. * @group Selection Controls * */ name?: string; /** * @name Value * @group Selection Controls * */ value?: string; /** * @name On Change * @description Callback fired when a radio button is selected. * */ onChange?: (event: React.ChangeEvent<{}>, value: string) => void; } export declare enum RadioColor { Primary = "primary", Secondary = "secondary", Default = "default" } /** * @name Radio * @group Form */ export declare const Radio: React.SFC; /** * @name Radio Group * @group Form */ export declare const RadioGroup: React.SFC;