visuddhinanda há 2 anos atrás
pai
commit
9b7e399f71
1 ficheiros alterados com 15 adições e 0 exclusões
  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;