mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
* Add `fetchPriority` and `media` property to icon descriptor * Add more jsdoc Closes NEXT-544 Fixes https://github.com/vercel/next.js/issues/45859 Co-authored-by: Shu Ding <[email protected]>
17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
export default function page() {
|
|
return 'icons'
|
|
}
|
|
|
|
export const metadata = {
|
|
icons: {
|
|
icon: '/icon.png',
|
|
shortcut: '/shortcut-icon.png',
|
|
apple: '/apple-icon.png',
|
|
other: {
|
|
rel: 'other-touch-icon',
|
|
url: '/other-touch-icon.png',
|
|
media: '(prefers-color-scheme: dark)',
|
|
},
|
|
},
|
|
}
|