import React from "react";
import Heading from "./Heading";
import Timer from "./Timer";
import Question from "./Question";
function Header({timerRunning, timerContent, questionCount, question}) {
    return(
        <header className="Header">
            <Heading/>
            <Question questionCount={questionCount} question={question}/>
            <Timer timerRunning={timerRunning} timerContent={timerContent}/>
        </header>
    )
}

export default Header