<p dir="auto">Any chance to add props support in stylesheet creation?</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@withStyles(createStyleSheet('Calendar', theme =&gt; ({
    highlight: {
        backgroundColor: props =&gt; props.highlightCurrentDateColor,
    },
})))
export default class Calendar extends React.Component {"><pre class="notranslate">@<span class="pl-en">withStyles</span><span class="pl-kos">(</span><span class="pl-en">createStyleSheet</span><span class="pl-kos">(</span><span class="pl-s">'Calendar'</span><span class="pl-kos">,</span> <span class="pl-s1">theme</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-kos">{</span>
    <span class="pl-c1">highlight</span>: <span class="pl-kos">{</span>
        <span class="pl-en">backgroundColor</span>: <span class="pl-s1">props</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">highlightCurrentDateColor</span><span class="pl-kos">,</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">)</span>
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-k">class</span> <span class="pl-v">Calendar</span> <span class="pl-k">extends</span> <span class="pl-v">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span> <span class="pl-kos">{</span><span class="pl-kos"></span></pre></div>
<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/callemall/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">My code is compiling, but I get an error in the console: Uncaught TypeError: (0 , _styles2.default) is not a function</p>
<h2 dir="auto">Current Behavior</h2>

<p dir="auto">My code isn't rendering, with the above error.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>

<p dir="auto">Link to codesandbox: <a href="https://k5v039k8mv.codesandbox.io/" rel="nofollow">https://k5v039k8mv.codesandbox.io/</a></p>
<ol dir="auto">
<li>Download react@15.6.2, react-dom@15.6.2, material-ui@1.0.0-beta.20 (Devextreme DataGrid relies on this version, but it isn't involved with this component)</li>
<li>Get sample code from material-ui website ( Component - Text input - Search)</li>
<li>Edit it so it only shows the search text input ( I may have made an error in doing this, i'm not sure )</li>
<li>npm start which leads to 'Error: uncaught TypeError: (0 , _styles2.default) is not a function'</li>
</ol>
<h2 dir="auto">Context</h2>
    
<h2 dir="auto">Your Environment</h2>
<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v1.0.0-beta.20</td>
</tr>
<tr>
<td>React</td>
<td>v15.6.2</td>
</tr>
<tr>
<td>react-dom</td>
<td>v15.6.2</td>
</tr>
<tr>
<td>browser</td>
<td>61.0.3163.100 (Official Build) (64-bit)</td>
</tr>
</tbody>
</table>