file switching logic

This commit is contained in:
Ishaan Dey
2024-04-27 00:20:17 -04:00
parent b348f1d519
commit 39696128db
4 changed files with 61 additions and 31 deletions

View File

@ -10,3 +10,8 @@ export type TFile = {
type: "file"
name: string
}
export type TFileData = {
id: string
data: string
}