UNPKG

@oxyhq/services

Version:

Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀

15 lines • 665 B
import type React from 'react'; /** * FontLoader component that loads custom fonts in the background while rendering children immediately * This works in both the package development and when consumed as an npm package * Children render immediately with system fonts as fallback until custom fonts are loaded */ export declare const FontLoader: ({ children, }: { children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element; /** * Setup fonts for applications consuming this package * This should be called by applications using your package */ export declare const setupFonts: () => Promise<boolean>; //# sourceMappingURL=FontLoader.d.ts.map