import "./styles.css";

const BurgerButton = ({ checked, onClick }) => {
  return (
    <>
      <input
        className="burgerInput"
        type="checkbox"
        checked={checked}
        onClick={onClick}
      />
      <label className="burgerLabel" for="burgerInput">
        <span className="burgerSpan"></span>
      </label>
    </>
  );
};

export default BurgerButton;
