MCPcopy Create free account
hub / github.com/Shopify/function-examples / Code

Function Code

sample-apps/discounts/app/routes/app.additional.jsx:65–80  ·  view source on GitHub ↗
({ children })

Source from the content-addressed store, hash-verified

63}
64
65function Code({ children }) {
66 return (
67 <Box
68 as="span"
69 padding="025"
70 paddingInlineStart="100"
71 paddingInlineEnd="100"
72 background="bg-surface-active"
73 borderWidth="100"
74 borderColor="border"
75 borderRadius="100"
76 >
77 <code>{children}</code>
78 </Box>
79 );
80}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected