Browse Source

Fix #6044 | Radio.Button types (#6053)

pull/6057/head
BK Heleth 8 years ago
committed by Wei Zhu
parent
commit
291ca97428
  1. 9
      components/radio/radioButton.tsx

9
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<RadioButtonProps, any> {
static defaultProps = {

Loading…
Cancel
Save