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

Function getMetadata

internal/packages/ui/src/index.tsx:13–22  ·  view source on GitHub ↗
({
  title,
  description,
}: {
  title?: string
  description?: string
} = {})

Source from the content-addressed store, hash-verified

11export * from './snippet.js'
12
13export const getMetadata = ({
14 title,
15 description,
16}: {
17 title?: string
18 description?: string
19} = {}) => ({
20 title: title ? `${title} - Vercel Examples` : 'Vercel Example',
21 description,
22})

Callers 10

layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85
layout.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected