MCPcopy Create free account
hub / github.com/EsperoTech/yaade / Header

Function Header

client/src/components/header/Header.tsx:15–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13import styles from './Header.module.css';
14
15function Header() {
16 const { isOpen, onOpen, onClose } = useDisclosure();
17 return (
18 <Box
19 className={styles.container}
20 bg="headerBg"
21 borderBottom="1px"
22 borderColor="rgba(128, 128, 128, 0.35)"
23 >
24 <img className={styles.img} src="yaade-icon.png" alt="yaade icon" />
25 <Heading as="h1" size="md" ml="2">
26 YAADE
27 </Heading>
28 <div className={styles.buttons}>
29 <IconButton
30 aria-label="settings-button"
31 icon={<SettingsIcon />}
32 onClick={onOpen}
33 variant="ghost"
34 ></IconButton>
35 </div>
36 <Modal isOpen={isOpen} onClose={onClose}>
37 <ModalOverlay />
38 <ModalContent width="" maxWidth="" borderRadius={20} padding={2}>
39 <Settings />
40 </ModalContent>
41 </Modal>
42 </Box>
43 );
44}
45
46export default Header;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected