import React from "react"; import "./index.scss"; import { infoAlert } from "../../redux/actions/modalActions"; import { connect } from "react-redux"; function Alert(props) { return (

inside Alert Components

{/* 1 */} {/* 2 */} {/* 3 */} {/* 4 */} {/* 5 */} {/* 6 */} {/* 7 */} {/* 8 */} {/* 9 */} {/* 10 */}
); } const mapStateToProps = (state) => { return {}; }; // export default Alert; export default connect(mapStateToProps, { customAlert: infoAlert })(Alert);