sendou.ink/app/components/match-page/MatchPageHeader.tsx
Kalle 2b5b1b1948
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
New match page (#3032)
2026-05-04 18:15:10 +03:00

22 lines
429 B
TypeScript

import styles from "./MatchPageHeader.module.css";
export function MatchPageHeader({
children,
subtitle,
topRight,
}: {
children: React.ReactNode;
subtitle: string;
topRight?: React.ReactNode;
}) {
return (
<div className={styles.root}>
<div>
<h2 className={styles.title}>{children}</h2>
<div className={styles.subtitle}>{subtitle}</div>
</div>
{topRight ? <div>{topRight}</div> : null}
</div>
);
}