This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
Files
scoresaber-reloadedv3/src/components/player/player-data-point.tsx

14 lines
248 B
TypeScript
Raw Normal View History

2024-09-09 09:24:16 +01:00
type Props = {
icon?: React.ReactNode;
children: React.ReactNode;
};
2024-09-11 15:38:04 +01:00
export default function PlayerDataPoint({ icon, children }: Props) {
2024-09-09 09:24:16 +01:00
return (
<div className="flex gap-1 items-center">
{icon}
{children}
</div>
);
}