MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / NoData

Function NoData

javascript/grid-ui/src/components/NoData/NoData.tsx:21–60  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

19import { Box, Container, Link, Typography } from '@mui/material'
20
21function 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
62export default NoData

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected