player h2h
This commit is contained in:
@@ -13,7 +13,7 @@ import { XIcon } from "@phosphor-icons/react";
|
||||
|
||||
interface AvatarProps
|
||||
extends Omit<MantineAvatarProps, "radius" | "color" | "size"> {
|
||||
name: string;
|
||||
name?: string;
|
||||
size?: number;
|
||||
radius?: string | number;
|
||||
withBorder?: boolean;
|
||||
|
||||
@@ -18,6 +18,7 @@ interface TabItem {
|
||||
interface SwipeableTabsProps {
|
||||
tabs: TabItem[];
|
||||
defaultTab?: number;
|
||||
mb?: string | number;
|
||||
onTabChange?: (index: number, tab: TabItem) => void;
|
||||
}
|
||||
|
||||
@@ -25,6 +26,7 @@ function SwipeableTabs({
|
||||
tabs,
|
||||
defaultTab = 0,
|
||||
onTabChange,
|
||||
mb,
|
||||
}: SwipeableTabsProps) {
|
||||
const router = useRouter();
|
||||
const search = router.state.location.search as any;
|
||||
@@ -144,7 +146,7 @@ function SwipeableTabs({
|
||||
style={{
|
||||
display: "flex",
|
||||
paddingInline: "var(--mantine-spacing-md)",
|
||||
marginBottom: "var(--mantine-spacing-md)",
|
||||
marginBottom: mb !== undefined ? mb : "var(--mantine-spacing-md)",
|
||||
zIndex: 100,
|
||||
backgroundColor: "var(--mantine-color-body)",
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user