import { Group, Indicator, Text } from "@mantine/core"; interface SectionHeadingProps { label: string; /** Show a pulsing red "live" dot before the label. */ live?: boolean; /** Appended as "· N" after the label when greater than 1. */ count?: number; /** Optional right-aligned action (e.g. a "View all" link). */ action?: React.ReactNode; } /** * Compact, uppercase section label used across the started-tournament home * surfaces. Mirrors the original "Live Matches" heading treatment. */ const SectionHeading = ({ label, live, count, action }: SectionHeadingProps) => { return ( {live && ( )} {label} {count && count > 1 ? ` · ${count}` : ""} {action} ); }; export default SectionHeading;