diff options
author | crupest <crupest@outlook.com> | 2021-04-13 19:39:31 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-13 19:39:31 +0800 |
commit | b13bc55fc8f40f80fbfe5c3e3a1abde3246a00b5 (patch) | |
tree | a153e522625b9ee0cbd000d45285745631a27efb /FrontEnd/src/app/views/timeline-common/CollapseButton.tsx | |
parent | 5d1ea4bf6910286af344bf2660875c989d92fcbb (diff) | |
download | timeline-b13bc55fc8f40f80fbfe5c3e3a1abde3246a00b5.tar.gz timeline-b13bc55fc8f40f80fbfe5c3e3a1abde3246a00b5.tar.bz2 timeline-b13bc55fc8f40f80fbfe5c3e3a1abde3246a00b5.zip |
refactor: replace clsx with classnames.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/CollapseButton.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/CollapseButton.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/CollapseButton.tsx b/FrontEnd/src/app/views/timeline-common/CollapseButton.tsx index da54f3fd..12a3b710 100644 --- a/FrontEnd/src/app/views/timeline-common/CollapseButton.tsx +++ b/FrontEnd/src/app/views/timeline-common/CollapseButton.tsx @@ -1,5 +1,5 @@ import React from "react"; -import clsx from "clsx"; +import classnames from "classnames"; const CollapseButton: React.FC<{ collapse: boolean; @@ -10,7 +10,7 @@ const CollapseButton: React.FC<{ return ( <i onClick={onClick} - className={clsx( + className={classnames( collapse ? "bi-arrows-angle-expand" : "bi-arrows-angle-contract", "text-primary icon-button", className |