Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at ece6dc251cdb7eaf260819a4005b3a3e3e74ac8b 16 lines 502 B view raw
1import {createContext} from 'react' 2 3import {type TranslationFunctionParams, type TranslationState} from './types' 4 5export const Context = createContext<{ 6 translationState: Record<string, TranslationState> 7 translate: ( 8 parameters: TranslationFunctionParams & { 9 key: string 10 forceGoogleTranslate: boolean 11 }, 12 ) => Promise<void> 13 clearTranslation: (key: string) => void 14 acquireTranslation: (key: string) => () => void 15} | null>(null) 16Context.displayName = 'TranslationContext'