installing react-bootstrap straightforward;
"npm install react-bootstrap --save"
"npm install @types/react-bootstrap --save"
then add references
import FooButton from 'react-bootstrap/lib/Button'; .. return ( <div> <FooButton bsStyle="success" bsSize="small" > Nice Button </FooButton> </div> );
How can I fix and use react-bootstrap?
Edited: "npm view es version" output is 0.5.2 they say react-bootstrap version is es6, is it cause the error? doesn't make sense but can't figure the solution out