MCPcopy Create free account
hub / github.com/vercel/examples / ShoppingCartNavItemFallback

Function ShoppingCartNavItemFallback

flags-sdk/reflag/components/navigation.tsx:8–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6const navigation = ['Home', 'Sale', 'New', 'Shirts', 'Stickers']
7
8function ShoppingCartNavItemFallback() {
9 return (
10 <Link href="/cart" className="group -m-2 flex items-center p-2">
11 <ShoppingCartIcon className="h-6 w-6 flex-shrink-0 text-gray-400 group-hover:text-gray-500" />
12 <span className="ml-2 w-3 h-4 rounded text-sm font-medium bg-gray-200" />
13 </Link>
14 )
15}
16
17async function ShoppingCartNavItem() {
18 const cart = await getCart()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected