Web: move svg from toast to public path

This commit is contained in:
TimofeyBoyko 2022-09-20 12:56:14 +03:00
parent 18ff4122a9
commit f1a8310ac3
6 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import styled from "styled-components";
import InfoIcon from "../../../public/images/alert.react.svg";
import InfoIcon from "../../../public/images/danger.toast.react.svg";
import commonIconsStyles from "../utils/common-icons-style";
const StyledLogoIcon = styled(InfoIcon)`

View File

@ -1,3 +0,0 @@
export { default as CheckToastIcon } from "./check.toast.react.svg";
export { default as DangerToastIcon } from "./danger.toast.react.svg";
export { default as InfoToastIcon } from "./info.toast.react.svg";

View File

@ -2,7 +2,9 @@ import React from "react";
import { toast } from "react-toastify";
import styled from "styled-components";
import { CheckToastIcon, DangerToastIcon, InfoToastIcon } from "./svg";
import CheckToastIcon from "../../../public/images/check.toast.react.svg";
import DangerToastIcon from "../../../public/images/danger.toast.react.svg";
import InfoToastIcon from "../../../public/images/info.toast.react.svg";
import Text from "../text";
import {

View File

Before

Width:  |  Height:  |  Size: 667 B

After

Width:  |  Height:  |  Size: 667 B

View File

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 684 B

View File

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 558 B