Material UI Component Props autocomplete in strange way

When I autocomplete React Material-UI Components using tab or enter, a lot of 'classes' and 'themes' props appear on the component.

 

import Drawer from 'material-ui/Drawer';

Drawer //Tab here to autocomplete produces the right result => <Drawer/>
<Draw //auto complete this will produce the below (selecting from the suggestions with enter or tab)

<Drawer classes="" theme="" classes="" theme="" classes="" theme="" classes="" theme=""/>

Why is this? How can I fix it?

0
1 comment

Can't recreate. What WebStorm build do you use? What is your "material-ui" version?

0

Please sign in to leave a comment.