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
I have taken the source for the Input component, and only changed the import statements to require as shown below. The rest of the file matches the existing Input component.
The problem is the FormGroup component does not exist, and looking at the source, FromGroup is defined differently from the other components (class FormGroup extends React.Component ...).
Any ideas how to get around this?
var React = require('react');
var classNames = require('classNames');
var Bootstrap = require('react-bootstrap');
var Button = Bootstrap.Button;
var FormGroup = Bootstrap.FormGroup;
const MyInput =
React.createClass({
The text was updated successfully, but these errors were encountered:
We did not expose that component to the public api. The discussion for which is in #342. What are you trying to change about Input to necessitate a direct copy?
I have taken the source for the Input component, and only changed the import statements to require as shown below. The rest of the file matches the existing Input component.
The problem is the FormGroup component does not exist, and looking at the source, FromGroup is defined differently from the other components (class FormGroup extends React.Component ...).
Any ideas how to get around this?
The text was updated successfully, but these errors were encountered: