fix(babel): Use scoped react-bootstrap for babel@7

This commit is contained in:
Bouncey
2018-09-05 13:39:23 +01:00
committed by Stuart Taylor
parent f698dcf79c
commit 4c73ebbfef
11 changed files with 569 additions and 741 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Grid, Row, Col, Image } from 'react-bootstrap';
import { Grid, Row, Col, Image } from '@freecodecamp/react-bootstrap';
import {
showCertSelector,

View File

@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Alert } from 'react-bootstrap';
import { Alert } from '@freecodecamp/react-bootstrap';
import './flash.css';

View File

@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button } from 'react-bootstrap';
import { Button } from '@freecodecamp/react-bootstrap';
import { Link } from 'gatsby';
import './login.css';

View File

@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from 'react-bootstrap';
import { Row, Col } from '@freecodecamp/react-bootstrap';
function FullWidthRow({ children }) {
return (

View File

@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from 'react-bootstrap';
import { Row, Col } from '@freecodecamp/react-bootstrap';
function SlimWidthRow({ children, ...restProps }) {
return (

View File

@@ -10,7 +10,7 @@ import {
FormGroup,
ControlLabel,
Checkbox
} from 'react-bootstrap';
} from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import Layout from '../components/Layout';

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { Grid, Row, Col, Image } from 'react-bootstrap';
import { Grid, Row, Col, Image } from '@freecodecamp/react-bootstrap';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import {
faHtml5,

View File

@@ -13,7 +13,7 @@ import {
Row,
Col,
Button
} from 'react-bootstrap';
} from '@freecodecamp/react-bootstrap';
import Layout from '../components/Layout';
import { Spacer } from '../components/helpers';

View File

@@ -4,7 +4,7 @@ import { navigateTo } from 'gatsby';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Grid, Row, Col, Button } from 'react-bootstrap';
import { Grid, Row, Col, Button } from '@freecodecamp/react-bootstrap';
import { Loader, Spacer } from '../components/helpers';
import Layout from '../components/Layout';