aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/button/LoadingButton.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-16 01:28:25 +0800
committercrupest <crupest@outlook.com>2023-08-16 01:28:25 +0800
commit5bfd097ce4f67278462cd9ec0f63d819f0231a09 (patch)
treedb43e62c2d6e031e14b5d59cce81ca101b02cb4d /FrontEnd/src/views/common/button/LoadingButton.tsx
parentb541b8a2ac0f9588bb85bd52a6eef205ac47063b (diff)
downloadtimeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.tar.gz
timeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.tar.bz2
timeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.zip
...
Diffstat (limited to 'FrontEnd/src/views/common/button/LoadingButton.tsx')
-rw-r--r--FrontEnd/src/views/common/button/LoadingButton.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/FrontEnd/src/views/common/button/LoadingButton.tsx b/FrontEnd/src/views/common/button/LoadingButton.tsx
index 43aca766..30b020cd 100644
--- a/FrontEnd/src/views/common/button/LoadingButton.tsx
+++ b/FrontEnd/src/views/common/button/LoadingButton.tsx
@@ -28,6 +28,7 @@ export default function LoadingButton(props: LoadingButtonProps) {
className={classNames(
"cru-button outline cru-loading-button",
`cru-button-${color ?? "primary"}`,
+ loading && "cru-loading-button-loading",
className,
)}
{...otherProps}