You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
);
}
}`
The text was updated successfully, but these errors were encountered:
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
);
}
}`
The text was updated successfully, but these errors were encountered: