aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/button/IconButton.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-15 01:16:37 +0800
committercrupest <crupest@outlook.com>2023-08-15 01:16:37 +0800
commit93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0 (patch)
treed689ec372ce24c5c11a6524f99bb7617752fc91e /FrontEnd/src/views/common/button/IconButton.tsx
parente989478fcf77c30e26147310f5ce25dfb637d1b3 (diff)
downloadtimeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.tar.gz
timeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.tar.bz2
timeline-93bc2b9688ebc0dde2ae8d5cf3e3f2628d636ff0.zip
...
Diffstat (limited to 'FrontEnd/src/views/common/button/IconButton.tsx')
-rw-r--r--FrontEnd/src/views/common/button/IconButton.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/views/common/button/IconButton.tsx b/FrontEnd/src/views/common/button/IconButton.tsx
index d3a8b240..60050e0d 100644
--- a/FrontEnd/src/views/common/button/IconButton.tsx
+++ b/FrontEnd/src/views/common/button/IconButton.tsx
@@ -18,9 +18,9 @@ export default function IconButton(props: IconButtonProps) {
<button
className={classNames(
"cru-icon-button",
+ `cru-button-${color ?? "primary"}`,
large && "large",
"bi-" + icon,
- color && `cru-button-${color}`,
className,
)}
{...otherProps}