fetch? | { (input, init?): Promise<Response>; (input, init?): Promise<Response>; } | Custom fetch implementation. Defaults to the global fetch. Useful for proxies, caching, or runtimes without a global fetch. |
italic? | boolean | Whether to request the italic style. Defaults to false. |
signal? | AbortSignal | Abort signal forwarded to both network requests. |
text? | string | Restrict the downloaded font to the glyphs needed for this text (Google Fonts &text= subsetting). Produces a much smaller file. |
weight? | number | Font weight to request (1-1000). Defaults to 400. |