Last active
February 11, 2020 17:32
-
-
Save gregoryanderson/e607ad737f29f357ab8dd3602445a6a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import './Card.css' | |
import {Button} from "./styles" | |
const Card = props => { | |
return ( | |
<section className="Card"> | |
<h1>{props.title}</h1> | |
<p>{props.description}</p> | |
<Button card onClick={() => props.deleteCard(props.id)}>Delete</Button> | |
</section> | |
); | |
}; | |
export default Card; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment