<p dir="auto">Needs to do a check to see if document is available, otherwise this throws a document is undefined on the server.</p>
<p dir="auto"><a href="https://github.com/callemall/material-ui/blob/47bf496d977d0ff1ef9e1a7615c405b49e81ac2a/src/overlay.jsx#L57-L59">https://github.com/callemall/material-ui/blob/47bf496d977d0ff1ef9e1a7615c405b49e81ac2a/src/overlay.jsx#L57-L59</a></p>
<p dir="auto">In my code I added</p>
<p dir="auto">import {DatePicker} from 'material-ui';<br>
</p>
<p dir="auto">Then i've got error<br>
ReferenceError: document is not defined<br>
at [object Object].componentWillMount (~/node_modules/material-ui/lib/overlay.js:64:34)</p>
<p dir="auto">I also change my import to<br>
const DatePicker = require('material-ui/lib/date-picker/date-picker');</p>
<p dir="auto">Still no luck</p>