no dropIn in alert
This commit is contained in:
parent
e320c0fd66
commit
02ecea7d52
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user