import React from 'react';
import Nav from './Nav';

function Header({ users,headData, successFunc , quitFunc , match }){
  return(
    <div className="headsnav">
      <Nav 
        match={match}
        users={users} 
        headData={headData} 
        successFunc={successFunc} 
        quitFunc={quitFunc}
      />
    </div>
  )
}
export default Header;