diff options
author | ilyayudovin <ilyayudovin123.@mail.com> | 2020-06-07 00:40:37 +0300 |
---|---|---|
committer | ilyayudovin <ilyayudovin123.@mail.com> | 2020-06-07 00:40:37 +0300 |
commit | 709fc75cdf91bcabac41573da5c36fe0cf72f869 (patch) | |
tree | 415222ea4540e6ec3ec6b310ed986af81ad69598 /src/poll-component | |
parent | f25124c0de2b87718192c45c3c59d51a42b006fd (diff) | |
download | which-ui-709fc75cdf91bcabac41573da5c36fe0cf72f869.tar.gz |
refactor: change names and imports
Diffstat (limited to 'src/poll-component')
-rw-r--r-- | src/poll-component/poll-component.tsx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/poll-component/poll-component.tsx b/src/poll-component/poll-component.tsx deleted file mode 100644 index 13d65c5..0000000 --- a/src/poll-component/poll-component.tsx +++ /dev/null @@ -1,43 +0,0 @@ -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', - } -}); - -export default function MediaCard() { - const classes = useStyles(); - - return ( - <Card className={classes.root}> - <CardActionArea> - <div className={classes.imagesBlock}> - <CardMedia className={classes.images} - image='https://images.pexels.com/photos/556666/pexels-photo-556666.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500'/> - <CardMedia className={classes.images} - image='https://cdn.psychologytoday.com/sites/default/files/field_blog_entry_images/2019-06/pexels-photo-556667.jpeg'/> - </div> - </CardActionArea> - - </Card> - ); -}
\ No newline at end of file |