"Fossies" - the Fresh Open Source Software Archive 
Member "selenium-selenium-4.8.1/javascript/grid-ui/src/components/NoData/NoData.tsx" (17 Feb 2023, 1837 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TSX (TypeScript with React) source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 // Licensed to the Software Freedom Conservancy (SFC) under one
2 // or more contributor license agreements. See the NOTICE file
3 // distributed with this work for additional information
4 // regarding copyright ownership. The SFC licenses this file
5 // to you under the Apache License, Version 2.0 (the
6 // "License"); you may not use this file except in compliance
7 // with the License. You may obtain a copy of the License at
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing,
12 // software distributed under the License is distributed on an
13 // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 // KIND, either express or implied. See the License for the
15 // specific language governing permissions and limitations
16 // under the License.
17
18 import React from 'react'
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