import Grid from '../../grid'; import Radio from '..'; import React from 'react'; import ReactDOM from 'react-dom'; const RadioGroup = Radio.Group; const { Row, Col } = Grid; interface PageStates { value: string; other: number; } class ControlApp extends React.Component { constructor(props) { super(props); this.state = { value: 'orange', other: 0, }; this.onChange = this.onChange.bind(this); } onChange(value) { this.setState({ value, }); console.log('onChange', value); } onClick(e) { console.log('onClick', e); } render() { return (

Grid Layout:

Apple Pear Banana
Peach Watermelon Strawberry
); } } ReactDOM.render(, document.getElementById('radio-demo-8'));