import styles from './Header.module.css';

const Header = ({ todoList }: any) => {

    return (
        <div className={styles["header-section"]}>
            {todoList?.length > 0 ? <>You have {todoList?.length} Todos </> : <>No Tasks</>}
        </div>
    )
}

export default Header