From 86a5e9ee2af881344792149b92b400d85ff01dd1 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 23 Oct 2022 11:59:03 +0300 Subject: [PATCH] Objective damage table change SPU/BRU --- app/components/Label.tsx | 4 +- app/modules/analyzer/index.ts | 2 + app/modules/analyzer/useObjectDamage.ts | 24 ++++++++- app/modules/analyzer/utils.ts | 12 +++++ app/routes/object-damage.tsx | 70 +++++++++++++++++++------ app/styles/object-damage.css | 11 ++++ 6 files changed, 105 insertions(+), 18 deletions(-) diff --git a/app/components/Label.tsx b/app/components/Label.tsx index 828456dc7..08e349d28 100644 --- a/app/components/Label.tsx +++ b/app/components/Label.tsx @@ -13,6 +13,7 @@ type LabelProps = Pick< }; required?: boolean; className?: string; + labelClassName?: string; }; export function Label({ @@ -21,10 +22,11 @@ export function Label({ children, htmlFor, className, + labelClassName, }: LabelProps) { return (
-