forked from snapappointments/bootstrap-select
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
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
);
}
}`
Metadata
Metadata
Assignees
Labels
No labels