import { QueryKeyTimeline } from '@utils/queryHooks/timeline' import { createContext } from 'react' type ContextType = { queryKey?: QueryKeyTimeline rootQueryKey?: QueryKeyTimeline status?: Mastodon.Status reblogStatus?: Mastodon.Status // When it is a reblog, pass the root status ownAccount?: boolean spoilerHidden?: boolean copiableContent?: React.MutableRefObject<{ content: string complete: boolean }> detectedLanguage?: React.MutableRefObject highlighted?: boolean inThread?: boolean disableDetails?: boolean disableOnPress?: boolean isConversation?: boolean } const StatusContext = createContext({} as ContextType) export default StatusContext