replace fontawesome icons with ionicons 5
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user