import React from "react";

function Question({questionCount, question}) {
    return(
        <div className="HeaderDiv">
            <div id="QuestionHeaderDiv">
                <h2 id="QuestionHeader">{questionCount ? questionCount + ".Frage" : "Fragen"}</h2>
            </div>
            <div id="QuestionDiv">
                <h2 id="Question">{question}</h2>
            </div>
        </div>
    )
}

export default Question