| 112 | }; |
| 113 | |
| 114 | interface MessageBranchContextType { |
| 115 | currentBranch: number; |
| 116 | totalBranches: number; |
| 117 | goToPrevious: () => void; |
| 118 | goToNext: () => void; |
| 119 | branches: ReactElement[]; |
| 120 | setBranches: (branches: ReactElement[]) => void; |
| 121 | } |
| 122 | |
| 123 | const MessageBranchContext = createContext<MessageBranchContextType | null>( |
| 124 | null, |
nothing calls this directly
no outgoing calls
no test coverage detected