make toggle a separate component so we can display an outcome icon beside it

This commit is contained in:
gingervitis
2020-12-25 20:29:15 -08:00
parent 6cb8cee8b7
commit 310c6573d3
6 changed files with 133 additions and 70 deletions

10
web/types/chat.ts Normal file
View File

@@ -0,0 +1,10 @@
export interface MessageType {
author: string;
body: string;
id: string;
key: string;
name: string;
timestamp: string;
type: string;
visible: boolean;
}