Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: _react2.default.createClass is not a function #12

Open
wsfuller opened this issue Jan 20, 2018 · 3 comments
Open

TypeError: _react2.default.createClass is not a function #12

wsfuller opened this issue Jan 20, 2018 · 3 comments

Comments

@wsfuller
Copy link

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;
@Fuasmattn
Copy link

@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

@wsfuller
Copy link
Author

wsfuller commented Mar 5, 2018

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

@Fuasmattn
Copy link

@wsfuller thx I will have a look at it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants