From 056a1069902356ddf5c04842797512d14c022e92 Mon Sep 17 00:00:00 2001 From: Laux Dev <2201104208@student.buksu.edu.ph> Date: Fri, 27 Feb 2026 16:48:31 +0800 Subject: [PATCH] cenvert to components --- .../src/app/components/icons/circledCheck.jsx | 24 +++++++++++++ .../src/app/components/icons/toastClose.jsx | 24 +++++++++++++ .../components/toast/success/successToast.jsx | 34 +++---------------- 3 files changed, 52 insertions(+), 30 deletions(-) create mode 100644 frontend/src/app/components/icons/circledCheck.jsx create mode 100644 frontend/src/app/components/icons/toastClose.jsx diff --git a/frontend/src/app/components/icons/circledCheck.jsx b/frontend/src/app/components/icons/circledCheck.jsx new file mode 100644 index 0000000..ea4ed76 --- /dev/null +++ b/frontend/src/app/components/icons/circledCheck.jsx @@ -0,0 +1,24 @@ +import React from "react"; + +const CircledChececkIcon = (props) => { + return ( + + + + ); +}; + +export default CircledChececkIcon; diff --git a/frontend/src/app/components/icons/toastClose.jsx b/frontend/src/app/components/icons/toastClose.jsx new file mode 100644 index 0000000..e455046 --- /dev/null +++ b/frontend/src/app/components/icons/toastClose.jsx @@ -0,0 +1,24 @@ +import React from "react"; + +const ToastCloseIcon = (props) => { + return ( + + + + ); +}; + +export default ToastCloseIcon; diff --git a/frontend/src/app/components/toast/success/successToast.jsx b/frontend/src/app/components/toast/success/successToast.jsx index 3899184..2b21b36 100644 --- a/frontend/src/app/components/toast/success/successToast.jsx +++ b/frontend/src/app/components/toast/success/successToast.jsx @@ -1,43 +1,17 @@ import React from "react"; import styles from "./styles.module.css"; +import CircledChececkIcon from "../../icons/circledCheck"; +import ToastCloseIcon from "../../icons/toastClose"; const SuccessToast = ({ message }) => { return (
- - - +

{message}

- - - +
); };