Initial public release
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import React, { type JSX, type ReactNode } from 'react';
|
||||
import { RuntimeAPIContext } from '@/contexts/runtimeAPIContext';
|
||||
import type { RuntimeAPIs } from '@/lib/api/types';
|
||||
|
||||
export function RuntimeAPIProvider({ apis, children }: { apis: RuntimeAPIs; children: ReactNode }): JSX.Element {
|
||||
return <RuntimeAPIContext.Provider value={apis}>{children}</RuntimeAPIContext.Provider>;
|
||||
}
|
||||
Reference in New Issue
Block a user