diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 20:16:56 +0100 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-02-11 20:54:38 +0100 |
commit | e5f52401b2a839881fedef5a446f0ed21d2d34c2 (patch) | |
tree | 2baee2e99ffe2833b9bb6acb317e951606f72ba2 /webui/src/Label.tsx | |
parent | b83670821cfb36de211c1d9bc077dad43496d7eb (diff) | |
download | git-bug-e5f52401b2a839881fedef5a446f0ed21d2d34c2.tar.gz |
webui: typecheck remaining bug list components
Diffstat (limited to 'webui/src/Label.tsx')
-rw-r--r-- | webui/src/Label.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webui/src/Label.tsx b/webui/src/Label.tsx index e200f929..68c50b9d 100644 --- a/webui/src/Label.tsx +++ b/webui/src/Label.tsx @@ -18,7 +18,8 @@ const getTextColor = (background: string) => ? common.white // White on dark backgrounds : common.black; // And black on light ones -const _rgb = (color: Color) => 'rgb(' + color.R + ',' + color.G + ',' + color.B + ')'; +const _rgb = (color: Color) => + 'rgb(' + color.R + ',' + color.G + ',' + color.B + ')'; // Create a style object from the label RGB colors const createStyle = (color: Color) => ({ |