visuddhinanda 2 лет назад
Родитель
Сommit
9b7e399f71
1 измененных файлов с 15 добавлено и 0 удалено
  1. 15 0
      dashboard/src/components/general/SearchButton.tsx

+ 15 - 0
dashboard/src/components/general/SearchButton.tsx

@@ -0,0 +1,15 @@
+import { Button } from "antd";
+import { Link } from "react-router-dom";
+import { SearchOutlined } from "@ant-design/icons";
+
+const SearchButtonWidget = () => {
+  return (
+    <Button type="text" size="small">
+      <Link to="/search/home" target={"_blank"}>
+        <SearchOutlined style={{ color: "white" }} />
+      </Link>
+    </Button>
+  );
+};
+
+export default SearchButtonWidget;