Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/backend/.cache/admin/src/containers/NewNotification/index.js
Назад
/** * * NotificationsContainer * */ import React, { memo } from 'react'; import { useSelector } from 'react-redux'; import { CSSTransition } from 'react-transition-group'; import Notification from './Notification'; import NotificationsWrapper from './Wrapper'; const NotificationsContainer = () => { const notifications = useSelector(state => state.get('newNotification').notifications); return ( <NotificationsWrapper> {notifications.map(notification => ( <CSSTransition key={notification.id} classNames="notification" timeout={{ enter: 500, exit: 300, }} > <Notification notification={notification} /> </CSSTransition> ))} </NotificationsWrapper> ); }; export default memo(NotificationsContainer);
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка