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

react-bootstrap-select #24

Open
phongmanh opened this issue Oct 25, 2017 · 0 comments
Open

react-bootstrap-select #24

phongmanh opened this issue Oct 25, 2017 · 0 comments

Comments

@phongmanh
Copy link

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.

Check the render method of BootstrapSelect.

I get an error above when i am using https://www.npmjs.com/package/react-bootstrap-select . How to resolve this ?
This is my snap code:
`import { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import jQuery from 'jquery'
global.jQuery = jQuery
global.jquery = jQuery
global.$ = jQuery
var React = require('react');
require('react-bootstrap');

var Select = require('react-bootstrap-select')

class App extends Component {
render() {
return (


Mustard Ketchup Barbecue

);
}
}`

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

1 participant