<ul dir="auto">
<li>[x ] I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">No errors in development, but when I minify the bundle and hit ssr url, I receive this error:<br>
<a href="https://reactjs.org/docs/error-decoder.html?invariant=149&amp;args%5B%5D=iconMenuContainer" rel="nofollow">https://reactjs.org/docs/error-decoder.html?invariant=149&amp;args[]=iconMenuContainer</a></p>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>0.19.2</td>
</tr>
<tr>
<td>React</td>
<td>16</td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">I'm using the <code class="notranslate">onClick</code> property for the DatePicker component and it works fine, the only issue is that my VSC typescript linter is indicating that it is not a part of the type definition for this component.</p>


<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">No type errors would be fantastic - and this is the only one I've run into so far!</p>

<h2 dir="auto">Current Behavior</h2>
<p dir="auto">This is the error I'm getting:<br>
<code class="notranslate">Property 'onClick' does not exist on type 'IntrinsicAttributes &amp; IntrinsicClassAttributes&lt;DatePicker&gt; &amp; Readonly&lt;{ children?: ReactNode; }&gt; ...'.</code></p>

<h2 dir="auto">Steps to Reproduce (for bugs)</h2>

<ol dir="auto">
<li>Have typescript setup in a react environment</li>
<li>Use <code class="notranslate">import DatePicker from 'material-ui/DatePicker' </code> to import the DatePicker.  Right now, I'm getting around this error by using <code class="notranslate">const DatePicker: any = require('material-ui/DatePicker')</code>.  Lame.</li>
<li>Add an <code class="notranslate">onClick</code> property to your DatePicker.  Eg:<br>
<code class="notranslate">... onClick={ () =&gt; console.log('opening the datepicker') } ...</code></li>
<li>See annoying red stuff in your editor.</li>
</ol>
<h2 dir="auto">Context</h2>
<p dir="auto">Annoying typescript issue making me ask my boss annoying typescript questions.  This is more an issue with typescript than you guys, but you've done a really awesome job so far, this is just a way to make it a little bit better.</p>

<h2 dir="auto">Your Environment</h2>
<p dir="auto">We're running a react/redux/typescript app in Visual Studio Code.  I installed the <code class="notranslate">@types/material-ui</code> file and it mostly works great, thanks for putting in all that work!</p>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>0.20.0</td>
</tr>
<tr>
<td>React</td>
<td>16.2.0</td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>Visual Studio Code</td>
<td>1.19.1</td>
</tr>
<tr>
<td><code class="notranslate">@types/material-ui</code></td>
<td>0.20.1</td>
</tr>
</tbody>
</table>