Move icons to svg file

This commit is contained in:
Jeremy Karlsson
2023-03-02 18:47:02 +01:00
parent dc31ba9ad3
commit b4a132d4a2
55 changed files with 419 additions and 697 deletions

View File

@ -1,7 +1,7 @@
import "./BackButton.css";
import { useIntl } from "react-intl";
import ArrowBack from "Icons/ArrowBack";
import Icon from "Icons/Icon";
import messages from "./messages";
@ -20,7 +20,7 @@ const BackButton = ({ text, onClick }: BackButtonProps) => {
return (
<button className="back-button" type="button" onClick={onClickHandler}>
<ArrowBack />
<Icon name="arrowBack" />
{text || formatMessage(messages.Back)}
</button>
);