From 5536f8c1cbf2f7267678f27cb1bf8d8adf77b703 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Mon, 3 Jan 2022 08:55:26 +0200 Subject: [PATCH] Score reporting UI pretty complete ver --- app/components/Label.tsx | 10 +++ .../tournament/ActionSectionWrapper.tsx | 10 ++- .../tournament/DuringMatchActions.tsx | 11 +++- .../tournament/DuringMatchActionsRosters.tsx | 61 +++++++++++++++---- .../manage-roster.tsx | 27 ++++---- .../to/$organization.$tournament/register.tsx | 7 ++- app/styles/global.css | 35 ++++++++++- app/styles/tournament-bracket.css | 42 +++++++++++-- app/styles/tournament-manage-roster.css | 3 +- 9 files changed, 167 insertions(+), 39 deletions(-) create mode 100644 app/components/Label.tsx diff --git a/app/components/Label.tsx b/app/components/Label.tsx new file mode 100644 index 000000000..f817fd261 --- /dev/null +++ b/app/components/Label.tsx @@ -0,0 +1,10 @@ +import classNames from "classnames"; + +export interface LabelProps + extends React.LabelHTMLAttributes { + className?: string; +} + +export function Label({ className, ...rest }: LabelProps) { + return