ChannelDeck working prototype

This commit is contained in:
Sqaaakoi 2025-02-26 03:11:08 +13:00
commit 54fe9f17bf
No known key found for this signature in database
13 changed files with 241 additions and 0 deletions

View file

@ -0,0 +1,20 @@
import { useState } from "@webpack/common";
import "./DeckSidebar.css";
import { cl } from "./util";
enum SidebarTabs {
ADD_CHANNEL = "add_channel",
DECKS = "decks",
CONFIGURE = "configure"
}
export default function DeckSidebar() {
const [tab, setTab] = useState<SidebarTabs | null>(null);
const toggleTab = (value) => setTab((current) => current === value ? null : value);
return <div className={cl("sidebar")} data-tab={tab}>
<div className={cl("sidebar-items")}>
</div>
</div>;
}