From 291ca97428e682d9e2d8702ec6789445b9b44c38 Mon Sep 17 00:00:00 2001 From: BK Heleth Date: Mon, 8 May 2017 13:12:34 +0800 Subject: [PATCH] Fix #6044 | Radio.Button types (#6053) --- components/radio/radioButton.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/components/radio/radioButton.tsx b/components/radio/radioButton.tsx index ab01f0bace..d7403eac8b 100644 --- a/components/radio/radioButton.tsx +++ b/components/radio/radioButton.tsx @@ -1,13 +1,8 @@ import React, { PropTypes } from 'react'; +import { AbstractCheckboxProps } from '../checkbox/Checkbox'; import Radio from './radio'; -export interface RadioButtonProps { - value: string | number; - style?: React.CSSProperties; - disabled?: boolean; - checked?: boolean; - onChange?: (e: any) => any; -} +export interface RadioButtonProps extends AbstractCheckboxProps {} export default class RadioButton extends React.Component { static defaultProps = {