UNPKG
@ima/devtools
Version:
latest (1.0.0)
rc (1.0.0-rc.1)
1.0.0
1.0.0-rc.1
1.0.0-rc.0
0.4.0
0.4.0-rc.3
0.4.0-rc.2
0.4.0-rc.1
0.4.0-rc.0
IMA.js debugging panel in the Chrome Developer Tools window.
github.com/seznam/ima
seznam/ima
@ima/devtools
/
src
/
components
/
molecule
/
alerts
/
AlertsContainer.jsx
14 lines
(9 loc)
•
283 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{ connect }
from
'react-redux'
;
import
{ alertsActions }
from
'@/slices'
;
import
Alerts
from
'./Alerts'
;
const
mapStateToProps
= state => ({
alerts
: state.
alerts
.
alerts
, });
export
default
connect
(mapStateToProps, {
removeAlert
: alertsActions.
removeAlert
, })(
Alerts
);