Card.js 499 Bytes
Newer Older
kusang96's avatar
kusang96 committed
1
2
import React, { useState, useEffect, useRef } from 'react';

kusang96's avatar
dd    
kusang96 committed
3
4
function card(props) {
    const [card, setCard] = useState([...props])
kusang96's avatar
kusang96 committed
5
6

    return (
kusang96's avatar
dd    
kusang96 committed
7
8
        <Card className="mt-5">
            <Card.Img varient="top" src={} style={{ objectFit: "contain", height: "22rem" }}></Card.Img>
kusang96's avatar
kusang96 committed
9
10
            <Card.Body>
                <Card.Title></Card.Title>
kusang96's avatar
dd    
kusang96 committed
11
12
                <Card.Text></Card.Text>
                <Card.Text></Card.Text>
kusang96's avatar
kusang96 committed
13
14
            </Card.Body>
        </Card>
kusang96's avatar
kusang96 committed
15
16
17
    )
}

kusang96's avatar
dd    
kusang96 committed
18
export default card