mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-24 12:11:56 -05:00
17 lines
437 B
TypeScript
17 lines
437 B
TypeScript
import type * as React from "react";
|
|
import { SendouTabPanel } from "../elements/Tabs";
|
|
import { TAB_KEYS } from "./MatchTabs";
|
|
import { MatchTimeline, type MatchTimelineProps } from "./MatchTimeline";
|
|
|
|
export function MatchResultTab({
|
|
children,
|
|
...props
|
|
}: MatchTimelineProps & { children?: React.ReactNode }) {
|
|
return (
|
|
<SendouTabPanel id={TAB_KEYS.RESULT}>
|
|
<MatchTimeline {...props} />
|
|
{children}
|
|
</SendouTabPanel>
|
|
);
|
|
}
|