| 7 | type Task = () => Promise<TaskResult | null>; |
| 8 | |
| 9 | export interface ApplicationLoaderProps { |
| 10 | tasks?: Task[]; |
| 11 | initialConfig?: Record<string, any>; |
| 12 | placeholder?: (props: { loading: boolean }) => React.ReactElement; |
| 13 | children: (config: any) => React.ReactElement; |
| 14 | } |
| 15 | |
| 16 | export const LoadFontsTask = (fonts: { [key: string]: number }): Promise<TaskResult> => { |
| 17 | return Font.loadAsync(fonts).then(() => null); |
nothing calls this directly
no outgoing calls
no test coverage detected