implement notification page (#8)

This commit is contained in:
UUBulb
2024-11-20 21:37:03 +08:00
committed by GitHub
parent e37f30d335
commit b3588b3378
27 changed files with 1133 additions and 36 deletions

View File

@@ -5,11 +5,11 @@ import {
} from "@/components/ui/tabs"
import { Link, useLocation } from "react-router-dom"
export const GroupTab = () => {
export const GroupTab = ({ className }: { className?: string }) => {
const location = useLocation();
return (
<Tabs defaultValue={location.pathname}>
<Tabs defaultValue={location.pathname} className={className}>
<TabsList className="grid w-full grid-cols-2">
<TabsTrigger value="/dashboard/server-group" asChild>
<Link to="/dashboard/server-group">Server</Link>