title: React-leaflet GeoJSON `onClick`
body: <p><code>GeoJSON</code> components does not seem to have an <code>onClick</code> handler, global to the component.
  If you add <code>onClick</code>, it will work, but TypeScript will trigger an error.</p>
  <p>Sample code:</p>
  <pre class="lang-js prettyprint-override"><code>import { GeoJSON } from &quot;react-leaflet&quot;;
  const MyComponent = () =&gt; (
      &lt;GeoJSON
        key={id}
        onClick={console.log}
        data={geometry}
      /&gt;
  )
  </code></pre>
  <p>Same question applies to <code>style</code> by the way, there does not seem to be a way to have a global style.
  Maybe I should use a <code>ref</code>? Adding a wrapper <code>div</code> doesn't work.</p>
  <p>How to set a global <code>onClick</code> handler to the <code>GeoJSON</code> component?</p>
  <p>Version: <code>react-leaflet@2.7.0</code></p>