MCPcopy Create free account
hub / github.com/apollographql/fullstack-tutorial / LaunchTile

Function LaunchTile

start/client/src/components/launch-tile.tsx:15–28  ·  view source on GitHub ↗
({ launch }: any)

Source from the content-addressed store, hash-verified

13}
14
15const LaunchTile = ({ launch }: any) => {
16 const { id, mission, rocket } = launch;
17 return (
18 <StyledLink
19 to={`/launch/${id}`}
20 style={{
21 backgroundImage: getBackgroundImage(id),
22 }}
23 >
24 <h3>{mission.name}</h3>
25 <h5>{rocket.name}</h5>
26 </StyledLink>
27 );
28};
29
30export default LaunchTile
31

Callers

nothing calls this directly

Calls 1

getBackgroundImageFunction · 0.70

Tested by

no test coverage detected