import Radio from '../../radio'; import React from 'react'; import ReactDOM from 'react-dom'; import ResponsiveGrid from '..'; const { Cell } = ResponsiveGrid; interface PageStates { device:string; } const ds = [ 'desktop', 'tablet', 'phone' ]; class Demo extends React.Component <{}, PageStates> { onChange: (device: any) => void; constructor(props) { super(props); this.state = { device: 'desktop', }; this.onChange = device => { this.setState({ device, }); }; } render() { const { device } = this.state; return (