forked from devmentor-pl/practice-react-styling
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask05.js
More file actions
40 lines (36 loc) · 1.46 KB
/
Task05.js
File metadata and controls
40 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import React from 'react';
import { Row, Col, Card as RBCard, Button as RBButton } from 'react-bootstrap';
import Card from './../src/components/Card';
import Button from './../src/components/Button';
const Task05 = () => {
return (
<Row>
<Col>
<RBCard style={{ width: '18rem' }}>
<RBCard.Img variant="top" src="https://picsum.photos/100/80" />
<RBCard.Body>
<RBCard.Title>Card Title</RBCard.Title>
<RBCard.Text>
Some quick example text to build on the card title and make up the bulk of
the card's content.
</RBCard.Text>
<RBButton variant="primary">Go somewhere</RBButton>
</RBCard.Body>
</RBCard>
</Col>
<Col>
<Card>
<Card.Img src="https://picsum.photos/100/80" alt="random image" />
<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>
<Button variant="primary">Go somewhere</Button>
</Card.Body>
</Card>
</Col>
</Row>
)
}
export default Task05;