From 709fc75cdf91bcabac41573da5c36fe0cf72f869 Mon Sep 17 00:00:00 2001 From: ilyayudovin Date: Sun, 7 Jun 2020 00:40:37 +0300 Subject: refactor: change names and imports --- src/PollCard/PollCard.tsx | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/PollCard/PollCard.tsx (limited to 'src/PollCard/PollCard.tsx') diff --git a/src/PollCard/PollCard.tsx b/src/PollCard/PollCard.tsx new file mode 100644 index 0000000..24ad3eb --- /dev/null +++ b/src/PollCard/PollCard.tsx @@ -0,0 +1,44 @@ +import React from 'react'; +import {makeStyles} from '@material-ui/core/styles'; +import Card from '@material-ui/core/Card'; +import CardActionArea from '@material-ui/core/CardActionArea'; +import CardActions from '@material-ui/core/CardActions'; +import CardContent from '@material-ui/core/CardContent'; +import CardMedia from '@material-ui/core/CardMedia'; +import Button from '@material-ui/core/Button'; +import Typography from '@material-ui/core/Typography'; + +const useStyles = makeStyles({ + root: { + maxWidth: 600, + height: 500, + margin: '20px auto', + }, + images: { + height: 400, + width: 300, + margin:'20px 0', + }, + imagesBlock: { + display:'flex', + } +}); + +const PollCard: React.FC = () =>{ + const classes = useStyles(); + + return ( + + +
+ + +
+
+ +
+ ); +} +export default PollCard; \ No newline at end of file -- cgit v1.2.3