kopia lustrzana https://github.com/cloudflare/wildebeest
8 wiersze
320 B
TypeScript
8 wiersze
320 B
TypeScript
import { createContext } from '@builder.io/qwik'
|
|
import { MastodonInstance } from 'wildebeest/backend/src/types/configs'
|
|
|
|
/**
|
|
* This context is used to pass the Wildebeest MastodonInstance down to any components that need it.
|
|
*/
|
|
export const InstanceConfigContext = createContext<MastodonInstance>('MastodonInstance')
|