Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
20c290f
1
Parent(s): 055d291
backend stabilization
Browse files
frontend/packages/shared/src/components/NexusPopup.tsx
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import React from 'react';
|
| 2 |
import { motion, AnimatePresence } from 'framer-motion';
|
| 3 |
-
import { AlertCircle, CheckCircle, Info, TriangleAlert
|
|
|
|
| 4 |
import styles from './NexusPopup.module.css';
|
| 5 |
|
| 6 |
export type PopupType = 'info' | 'warning' | 'error' | 'success';
|
|
|
|
| 1 |
import React from 'react';
|
| 2 |
import { motion, AnimatePresence } from 'framer-motion';
|
| 3 |
+
import { AlertCircle, CheckCircle, Info, TriangleAlert } from 'lucide-react';
|
| 4 |
+
|
| 5 |
import styles from './NexusPopup.module.css';
|
| 6 |
|
| 7 |
export type PopupType = 'info' | 'warning' | 'error' | 'success';
|
frontend/packages/shared/src/contexts/NotificationContext.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
import React, { createContext, useContext, useState, useCallback } from 'react';
|
| 2 |
-
import { NexusPopup
|
|
|
|
|
|
|
| 3 |
|
| 4 |
interface NotificationOptions {
|
| 5 |
title?: string;
|
|
|
|
| 1 |
import React, { createContext, useContext, useState, useCallback } from 'react';
|
| 2 |
+
import { NexusPopup } from '../components/NexusPopup';
|
| 3 |
+
import type { PopupType } from '../components/NexusPopup';
|
| 4 |
+
|
| 5 |
|
| 6 |
interface NotificationOptions {
|
| 7 |
title?: string;
|