import React, { Component, Fragment } from 'react'; import { WithTheme, withTheme } from '@material-ui/core/styles'; import { Avatar, Divider, List, ListItem, ListItemAvatar, ListItemText } from '@material-ui/core'; import SettingsInputAntennaIcon from '@material-ui/icons/SettingsInputAntenna'; import DeviceHubIcon from '@material-ui/icons/DeviceHub'; import ComputerIcon from '@material-ui/icons/Computer'; import RefreshIcon from '@material-ui/icons/Refresh'; import { RestFormProps, FormActions, FormButton, HighlightAvatar } from '../components'; import { apStatusHighlight, apStatus } from './APStatus'; import { APStatus } from './types'; type APStatusFormProps = RestFormProps & WithTheme; class APStatusForm extends Component { createListItems() { const { data, theme } = this.props; return ( IP ); } render() { return ( {this.createListItems()} } variant="contained" color="secondary" onClick={this.props.loadData} > Refresh ); } } export default withTheme(APStatusForm);