mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-25 04:00:43 -04:00
fix(babel): Use scoped react-bootstrap for babel@7
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user