add bootstrap

This commit is contained in:
Maciej Kotowski committed 2021-10-02 00:46:29 +02:00
1 parent f73f510771
commit 1f39168ecd
4 files changed
+21989 -19

No files matched your search

+21975 -18
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -6,7 +6,9 @@
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"bootstrap": "^5.1.1",
"react": "^17.0.2",
"react-bootstrap": "^2.0.0-rc.0",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
+11
View File
@@ -5,10 +5,21 @@ import {
Route,
Link
} from "react-router-dom";
import Card from 'react-bootstrap/Card'
export default function App() {
return (
<Router>
<div>
<Card style={{ width: '18rem' }}>
<Card.Body>
<Card.Title>Card Title</Card.Title>
<Card.Text>
Some quick example text to build on the card title and make up the bulk of
the card's content.
</Card.Text>
</Card.Body>
</Card>
{/* A <Switch> looks through its children <Route>s and
renders the first one that matches the current URL. */}
<Switch>
+1 -1
View File
@@ -2,7 +2,7 @@ import React from "react";
import ReactDOM from "react-dom";
import "./index.scss";
import App from "./App.js";
import 'bootstrap/dist/css/bootstrap.min.css';
ReactDOM.render(
<React.StrictMode>
<App />