A context for the app.
Usage:
<AppContext.Provider value={app}> <YourComponent /></AppContext.Provider>
Import:
import { AppContext } from '@mnaoumov/obsidian-lib/react/app-context';
Signature:
const AppContext: React.Context<App | undefined>
Type: React.Context<App | undefined>