Functions & Hooks
loadFonts
function loadFonts(families: Record<string, FontSource[]>): Promise<string[]>;Register every face of every family. Resolves once all of them are in.
Parameters
families
Record<string, FontSource[]>
Returns
Promise<string[]>