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

Function BrowserLogo

javascript/grid-ui/src/components/common/BrowserLogo.tsx:23–36  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

21import { Box } from '@mui/material'
22
23function BrowserLogo (props): JSX.Element {
24 const { browserName, size } = props
25 const browserLogoSize = size ?? Size.S
26 return (
27 <Box
28 component='img'
29 src={browserLogo(browserName)}
30 marginX={0}
31 width={browserLogoSize}
32 height={browserLogoSize}
33 alt='Browser Logo'
34 />
35 )
36}
37
38export default BrowserLogo

Callers

nothing calls this directly

Calls 1

browserLogoFunction · 0.85

Tested by

no test coverage detected