react-mui-speeddial icon indicating copy to clipboard operation
react-mui-speeddial copied to clipboard

TypeError: _react2.default.createClass is not a function

Open wsfuller opened this issue 7 years ago • 3 comments
trafficstars

Using Create React App this plugin does not work as expected.

screen shot 2018-01-19 at 11 22 44 pm
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 avatar Jan 20 '18 07:01 wsfuller

@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 avatar Mar 05 '18 09:03 Fuasmattn

@Fuasmattn I used a different tool altogether react-speed-dial which works as advertised

wsfuller avatar Mar 05 '18 17:03 wsfuller

@wsfuller thx I will have a look at it

Fuasmattn avatar Mar 05 '18 17:03 Fuasmattn