I don't know much about react, but I need to do a project. I created styles and elements and i need to give the button hover.
const style = {
light: {
popup: {
width: "427.5px",
position: "relative",
boxShadow: "15px 15px 0 #201e74",
backgroundColor: "rgba(243, 174, 153, 0.9)"
},
container: {
marginLeft: "auto",
marginRight: "auto",
width: "90%",
display: "flex",
color: "#201e74",
textAlign: "center",
},
formButton: {
width: "262.5px",
height: "45px",
backgroundColor: "#201e74",
color: "white",
marginBottom: "50px",
},
const type = "light";
const html = React.createElement("div", { style: style[type].popup },
React.createElement("div", { style: style[type].container },
React.createElement("button", { style: style[type].formButton },'SUBSCRIBE'),