aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-15 17:14:04 +0800
committercrupest <crupest@outlook.com>2021-06-15 17:14:04 +0800
commit0be1f595578153765d081cdb4478140da9cb8fc9 (patch)
tree1bd5f459479603df379edb7c0b55de963391c6ca /FrontEnd/src/views/common
parent1f242271a98900ca0a72a13ab05efbf65090df0d (diff)
downloadtimeline-0be1f595578153765d081cdb4478140da9cb8fc9.tar.gz
timeline-0be1f595578153765d081cdb4478140da9cb8fc9.tar.bz2
timeline-0be1f595578153765d081cdb4478140da9cb8fc9.zip
...
Diffstat (limited to 'FrontEnd/src/views/common')
-rw-r--r--FrontEnd/src/views/common/Card.css2
-rw-r--r--FrontEnd/src/views/common/button/FlatButton.tsx2
-rw-r--r--FrontEnd/src/views/common/button/TextButton.tsx2
3 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/views/common/Card.css b/FrontEnd/src/views/common/Card.css
index daf4e12b..17c3c779 100644
--- a/FrontEnd/src/views/common/Card.css
+++ b/FrontEnd/src/views/common/Card.css
@@ -2,7 +2,7 @@
border: 1px solid;
border-color: #e9ecef;
border-radius: 8px;
- background: #f8f9fa;
+ background: #fefeff;
transition: all 0.3s;
}
diff --git a/FrontEnd/src/views/common/button/FlatButton.tsx b/FrontEnd/src/views/common/button/FlatButton.tsx
index f5349765..6351971a 100644
--- a/FrontEnd/src/views/common/button/FlatButton.tsx
+++ b/FrontEnd/src/views/common/button/FlatButton.tsx
@@ -17,7 +17,7 @@ function _FlatButton(
}: {
text: I18nText;
color?: PaletteColorType;
- onClick?: () => void;
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
className?: string;
style?: React.CSSProperties;
},
diff --git a/FrontEnd/src/views/common/button/TextButton.tsx b/FrontEnd/src/views/common/button/TextButton.tsx
index 1e2b4873..1a2bac94 100644
--- a/FrontEnd/src/views/common/button/TextButton.tsx
+++ b/FrontEnd/src/views/common/button/TextButton.tsx
@@ -17,7 +17,7 @@ function _TextButton(
}: {
text: I18nText;
color?: PaletteColorType;
- onClick?: () => void;
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
className?: string;
style?: React.CSSProperties;
},