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/TimelineLine.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/TimelineLine.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelineLine.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelineLine.tsx b/FrontEnd/src/app/views/timeline-common/TimelineLine.tsx index d020f22c..0a828b32 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelineLine.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelineLine.tsx @@ -1,5 +1,5 @@ import React from "react"; -import clsx from "clsx"; +import classnames from "classnames"; export interface TimelineLineProps { current?: boolean; @@ -18,7 +18,7 @@ const TimelineLine: React.FC<TimelineLineProps> = ({ }) => { return ( <div - className={clsx( + className={classnames( "timeline-line", current && "current", center === "loading" && "loading", |