no dropIn in alert

This commit is contained in:
Elisee ADJIGUIDI 2023-06-28 17:48:14 +02:00
parent e320c0fd66
commit 02ecea7d52
3 changed files with 0 additions and 39 deletions

View File

@ -4,19 +4,6 @@ import { AiOutlineCheckCircle } from "react-icons/ai";
import '../../styles/Messages.css'
import React from "react";
const dropIn = {
hidden: {
y: "-100vh",
},
visible: {
y: "0",
},
exit: {
y: "-100vh",
},
};
interface AlertProps {
handleClose: Function,
text: string
@ -30,7 +17,6 @@ function GreenAlert({ handleClose, text }: AlertProps) {
<motion.div
onClick={(e) => e.stopPropagation()}
className="greenAlert"
// variant={dropIn}
initial="hidden"
animate="visible"
exit="exit"

View File

@ -4,19 +4,6 @@ import { BiErrorCircle } from "react-icons/bi";
import '../../styles/Messages.css'
import React from "react";
const dropIn = {
hidden: {
y: "-100vh",
},
visible: {
y: "0",
},
exit: {
y: "-100vh",
},
};
interface AlertProps {
handleClose: Function,
text: string

View File

@ -6,18 +6,6 @@ import React from "react";
import { MdQrCodeScanner } from "react-icons/md";
import { GiCrownedSkull, GiWingedSword } from "react-icons/gi";
const dropIn = {
hidden: {
y: "-100vh",
},
visible: {
y: "0",
},
exit: {
y: "-100vh",
},
};
interface AlertProps {
handleClose: Function,
text: string,