import React from "react"; import { connect } from "react-redux"; import { dialog } from "../../redux/actions"; export const Dialog = ({ dialog, setDialog }) => { const { text, type, accept } = dialog; return (
{text}