title: GatsbyJS Burger Menu close menu on AnchorLink click
body: <p>I have created a working burger menu in my Gatsby application using react-burger-menu. I am trying to get it so that when an AnchorLink in the burger is clicked, the Burger menu closes. I have tried doing <code>&lt;Menu isOpen={ false }&gt;</code> as suggested in the docs but not working. Any help?</p>
  <p>This is my Burger menu code:</p>
  <pre><code>import React from &quot;react&quot;
  import { slide as Menu } from &quot;react-burger-menu&quot;
  import { AnchorLink } from &quot;gatsby-plugin-anchor-links&quot;
  
  const Burger = () =&gt; {
    return (
      &lt;div className=&quot;burger-menu&quot;&gt;
        &lt;Menu right isOpen={ false }&gt;
          &lt;AnchorLink to=&quot;/#about&quot;&gt;About Me&lt;/AnchorLink&gt;
  
          &lt;AnchorLink to=&quot;/#experience&quot;&gt;Experience&lt;/AnchorLink&gt;
  
          &lt;AnchorLink to=&quot;/#projects&quot;&gt;Projects&lt;/AnchorLink&gt;
  
          &lt;AnchorLink to=&quot;/#contact&quot;&gt;Contact&lt;/AnchorLink&gt;
  
        &lt;/Menu&gt;
      &lt;/div&gt;
    )
  }
  
  export default Burger
  </code></pre>