const updateState = props.updateState; console.log("updateState: ", updateState); return <div style={{ color: red }}>{props.updateState}</div>;