feat(columns): add group column

This commit is contained in:
2024-01-01 17:32:57 +07:00
parent 499765c10a
commit a52fb3c437
17 changed files with 430 additions and 53 deletions

View File

@@ -8,6 +8,7 @@
"build": "vite build"
},
"dependencies": {
"@columns/group": "workspace:^",
"@columns/hashtag": "workspace:^",
"@columns/notification": "workspace:^",
"@columns/thread": "workspace:^",

View File

@@ -1,3 +1,4 @@
import { Group } from "@columns/group";
import { Hashtag } from "@columns/hashtag";
import { Thread } from "@columns/thread";
import { Timeline } from "@columns/timeline";
@@ -23,6 +24,8 @@ export function HomeScreen() {
return <User key={column.id} column={column} />;
case COL_TYPES.hashtag:
return <Hashtag key={column.id} column={column} />;
case COL_TYPES.group:
return <Group key={column.id} column={column} />;
default:
return <Timeline key={column.id} column={column} />;
}