()
| 261 | } |
| 262 | |
| 263 | render() { |
| 264 | return ( |
| 265 | <Box justifyContent="center" textAlign="center" p={3} borderBottom={'1px'} borderBottomColor="rgb(209, 209, 209)"> |
| 266 | <HStack> |
| 267 | <FormControl display="flex" alignItems="center" width="48"> |
| 268 | <Switch id="autorefresh" isChecked={this.state.autorefresh} onChange={this.onAutorefreshChanged} /> |
| 269 | <FormLabel htmlFor="autorefresh" mb="0" ml="3"> |
| 270 | Auto-refresh |
| 271 | </FormLabel> |
| 272 | </FormControl> |
| 273 | <Spacer /> |
| 274 | <ButtonGroup size="md" isAttached variant="outline"> |
| 275 | <IconButton onClick={this.props.reload} aria-label="refresh" icon={<RepeatIcon />}> |
| 276 | reload |
| 277 | </IconButton> |
| 278 | <IconButton |
| 279 | onClick={() => { |
| 280 | window.open(this.props.frameUrl, '_blank') |
| 281 | }} |
| 282 | aria-label="open in new tab" |
| 283 | icon={<ExternalLinkIcon />} |
| 284 | /> |
| 285 | </ButtonGroup> |
| 286 | </HStack> |
| 287 | </Box> |
| 288 | ) |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | @observer |
nothing calls this directly
no outgoing calls
no test coverage detected