Archived
add bootstrap
This commit is contained in:
1 parent
f73f510771
commit
1f39168ecd
4 files changed
+21989
-19
No files matched your search
+11
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user