title: Property 'onClick' does not exist on type '{ children?: ReactNode; }'
body: <p>I can't seem to find what I'm doing wrong...
  Any help will be appreciated:</p>
  <pre><code>type Props = {
    onClick: () =&gt; void, 
    value: string
  }
  
  const CustomInput = forwardRef&lt;Props&gt;(({ onClick, value }, ref) =&gt; (
    &lt;div className=&quot;react-datepicker-custom-input&quot; onClick={onClick}&gt;
      {value}
      &lt;i className={classes.arrowDown}&gt;&lt;/i&gt;
    &lt;/div&gt;
  ));
  
  
  error message: Property 'onClick' does not exist on type '{ children?: ReactNode; }
  </code></pre>
  <p>export default CustomInput;</p>