This commit is contained in:
mmacierzanka committed 2021-10-02 01:14:06 +02:00
commit c7a0dbf4d7
4 files changed
+464 -1

No files matched your search

+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 />