import React from "react"; import Typography, { ETypo, ETypoColor } from "../../Typography"; import classes from "./classes.module.scss"; type IProps = { title: string; description?: string; icon?: React.ReactNode; }; export default function ToastContent(props: IProps) { const { icon, title, description } = props; return (
{icon}
{title} {description}
); }