import * as React from "react"; import * as PropTypes from "prop-types"; export interface DataProps { /** * Default checked status. */ defaultChecked?: true | false; /** * `Disabled` the RadioButton. */ disabled?: boolean; /** * `onCheck` call back. */ onCheck?: (currChecked?: boolean) => void; /** * Control RadioButton `RadioButton`. */ size?: number; /** * Set RadioButton `label`. */ label?: string; /** * Set RadioButton outside shape style. */ radioStyle?: React.CSSProperties; /** * Set RadioButton outside shape checked style. */ radioCheckedStyle?: React.CSSProperties; /** * Set RadioButton inside dot style. */ radioDotStyle?: React.CSSProperties; /** * Set RadioButton inside dot checked style. */ radioDotCheckedStyle?: React.CSSProperties; } export interface RadioButtonProps extends DataProps, React.HTMLAttributes { } export interface RadioButtonState { currChecked?: boolean; hovered?: boolean; } export declare class RadioButton extends React.Component { static defaultProps: RadioButtonProps; state: RadioButtonState; static contextTypes: { theme: PropTypes.Requireable; }; context: { theme: ReactUWP.ThemeType; }; rootElm: HTMLSpanElement; componentWillReceiveProps(nextProps: RadioButtonProps): void; handleClick: (e?: React.MouseEvent) => void; handleMouseEnter: (e?: React.MouseEvent) => void; handleMouseLeave: (e?: React.MouseEvent) => void; render(): JSX.Element; } export default RadioButton;