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 | c939b64ce5fcc0833dd79d75edb86ade73f75f57 (patch) | |
tree | a1a4bb1ae973ed8c59b17cf8f70469c1fc86435d /FrontEnd/src/app/views/common/SearchInput.tsx | |
parent | 0b1faf00c6ae25a9d480e851421521991c017e3e (diff) | |
download | timeline-c939b64ce5fcc0833dd79d75edb86ade73f75f57.tar.gz timeline-c939b64ce5fcc0833dd79d75edb86ade73f75f57.tar.bz2 timeline-c939b64ce5fcc0833dd79d75edb86ade73f75f57.zip |
refactor: replace clsx with classnames.
Diffstat (limited to 'FrontEnd/src/app/views/common/SearchInput.tsx')
-rw-r--r-- | FrontEnd/src/app/views/common/SearchInput.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FrontEnd/src/app/views/common/SearchInput.tsx b/FrontEnd/src/app/views/common/SearchInput.tsx index eb127fcf..12e2126a 100644 --- a/FrontEnd/src/app/views/common/SearchInput.tsx +++ b/FrontEnd/src/app/views/common/SearchInput.tsx @@ -1,5 +1,5 @@ import React, { useCallback } from "react"; -import clsx from "clsx"; +import classnames from "classnames"; import { useTranslation } from "react-i18next"; import { Spinner, Form, Button } from "react-bootstrap"; @@ -37,7 +37,7 @@ const SearchInput: React.FC<SearchInputProps> = (props) => { ); return ( - <Form inline className={clsx(" flex-sm-nowrap", props.className)}> + <Form inline className={classnames(" flex-sm-nowrap", props.className)}> <Form.Control className="mr-sm-2 flex-grow-1" value={props.value} |