From 27489a13ca0186fd0062b98c180fceb041b39ab3 Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Thu, 9 Sep 2021 11:27:12 +1000 Subject: [PATCH] update row height names --- src/components/Table/TableHeader/RowHeight.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/Table/TableHeader/RowHeight.tsx b/src/components/Table/TableHeader/RowHeight.tsx index 1903cacd..f81bff43 100644 --- a/src/components/Table/TableHeader/RowHeight.tsx +++ b/src/components/Table/TableHeader/RowHeight.tsx @@ -11,6 +11,8 @@ import RowHeightIcon from "assets/icons/RowHeight"; import TableHeaderButton from "./TableHeaderButton"; import { useProjectContext } from "contexts/ProjectContext"; +const ROW_HEIGHTS = [37, 43, 65, 100, 150]; + export default function RowHeight() { const theme = useTheme(); @@ -57,11 +59,11 @@ export default function RowHeight() { id="row-height-select" > Row Height - Short - Tall - Grande - Venti - Trenta + {ROW_HEIGHTS.map((height) => ( + + {height}px + + ))} );