replace fontawesome icons with ionicons 5

This commit is contained in:
m5r
2021-09-08 04:59:38 +08:00
parent 8e856ffb92
commit 9ec73d6cf4
19 changed files with 60 additions and 90 deletions

View File

@ -1,7 +1,6 @@
import type { FunctionComponent } from "react";
import { useRouter } from "blitz";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faChevronLeft } from "@fortawesome/pro-regular-svg-icons";
import { IoChevronBack } from "react-icons/io5";
import Layout from "../../core/layouts/layout";
@ -15,7 +14,7 @@ const SettingsLayout: FunctionComponent = ({ children }) => {
<header className="px-4 sm:px-6 md:px-0">
<header className="flex">
<span className="flex items-center cursor-pointer" onClick={router.back}>
<FontAwesomeIcon className="h-8 w-8 mr-2" icon={faChevronLeft} /> Back
<IoChevronBack className="h-8 w-8 mr-2" /> Back
</span>
</header>
</header>