(props)
| 19 | import { Box, Container, Link, Typography } from '@mui/material' |
| 20 | |
| 21 | function NoData (props) { |
| 22 | const { message } = props |
| 23 | // noinspection HtmlUnknownAnchorTarget |
| 24 | return ( |
| 25 | <Box |
| 26 | height='100%' |
| 27 | width='100%' |
| 28 | paddingY={3} |
| 29 | > |
| 30 | <Box |
| 31 | display='flex' |
| 32 | flexDirection='column' |
| 33 | height='100%' |
| 34 | justifyContent='center' |
| 35 | > |
| 36 | <Container maxWidth='md'> |
| 37 | <Typography |
| 38 | align='center' |
| 39 | color='textPrimary' |
| 40 | variant='h1' |
| 41 | paddingBottom={1} |
| 42 | > |
| 43 | {message} |
| 44 | </Typography> |
| 45 | <Typography |
| 46 | align='center' |
| 47 | color='textPrimary' |
| 48 | variant='h4' |
| 49 | > |
| 50 | More information about Selenium Grid can be found at the{' '} |
| 51 | <Link href='#/help' underline='hover'> |
| 52 | Help |
| 53 | </Link> |
| 54 | {' '}section. |
| 55 | </Typography> |
| 56 | </Container> |
| 57 | </Box> |
| 58 | </Box> |
| 59 | ) |
| 60 | } |
| 61 | |
| 62 | export default NoData |
nothing calls this directly
no outgoing calls
no test coverage detected