react-mui-speeddial
react-mui-speeddial copied to clipboard
TypeError: _react2.default.createClass is not a function
trafficstars
Using Create React App this plugin does not work as expected.
import React, { Component } from 'react';
import { SpeedDial, SpeedDialItem } from 'react-mui-speeddial';
class Dashboard extends Component {
constructor(props) {
super(props);
this.state={}
}
render() {
return (
<div className="container">
<h1>Content</h1>
</div>
);
}
}
export default Dashboard;
@wsfuller @jampy have you found any solution for this issue yet? Got the same and I would still love to use this component in my project
@Fuasmattn I used a different tool altogether react-speed-dial which works as advertised
@wsfuller thx I will have a look at it