MCPcopy Create free account
hub / github.com/SplootCode/splootcode / ExampleCard

Function ExampleCard

src/pages/user_home.tsx:13–29  ·  view source on GitHub ↗
(props: { linkTo: string; title: string; description: string })

Source from the content-addressed store, hash-verified

11}
12
13const ExampleCard = (props: { linkTo: string; title: string; description: string }) => {
14 const { linkTo, title, description } = props
15 return (
16 <Box borderWidth="1px" borderRadius="md" bg="gray.800" borderColor="gray.500">
17 <Link to={linkTo}>
18 <Box py={2} px={2}>
19 <Heading as="h4" size="sm" pb={1}>
20 {title}
21 </Heading>
22 <Text lineHeight={1.2} color={'gray.300'}>
23 {description}
24 </Text>
25 </Box>
26 </Link>
27 </Box>
28 )
29}
30
31const ProjectCard = (props: {
32 ownerID: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected