1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

iOS almost working

This commit is contained in:
Zhiyuan Zheng
2021-01-30 01:29:15 +01:00
parent 9c36052c2a
commit 247f7a7982
126 changed files with 1829 additions and 1341 deletions

View File

@ -0,0 +1,10 @@
import { createContext, Dispatch } from 'react'
import { ComposeAction, ComposeState } from './types'
type ContextType = {
composeState: ComposeState
composeDispatch: Dispatch<ComposeAction>
}
const ComposeContext = createContext<ContextType>({} as ContextType)
export default ComposeContext