fix(babel): Use scoped react-bootstrap for babel@7
This commit is contained in:
@@ -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,
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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';
|
||||
|
@@ -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,
|
||||
|
@@ -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';
|
||||
|
@@ -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';
|
||||
|
Reference in New Issue
Block a user