Skip to content

Commit

Permalink
Installed and configured React-Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
adityasimant committed Aug 13, 2023
1 parent c489507 commit a216eab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"bootstrap": "^5.3.1",
"react": "^18.2.0",
"react-bootstrap": "^2.8.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
Expand Down
5 changes: 1 addition & 4 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import logo from './logo.svg';
import './App.css';

function App() {
return (
<>

<h2>Hello world!</h2>

<h2>Hello world!</h2>
</>
);
}
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';

// React bootstrap
import "../node_modules/react-bootstrap/dist/react-bootstrap"
import "../node_modules/bootstrap/dist/css/bootstrap.css"

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
Expand Down

0 comments on commit a216eab

Please sign in to comment.