UNPKG

@next/font

Version:

`@next/font` includes built-in automatic self-hosting for any font file. This means you can optimally load web fonts with zero layout shift, thanks to the underlying CSS size-adjust property used.

4 lines (3 loc) 138 B
import type { FontLoader } from 'next/font'; declare const nextFontGoogleFontLoader: FontLoader; export default nextFontGoogleFontLoader;