GroceriStar/cards-wrapper-component

View on GitHub
src/components/Cards/Card.js

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react'
import { Card } from 'antd'

const { Meta } = Card

const CardComponent = props =>
  (
    <Card
      hoverable
      style={{ width: 240 }}
      cover={<img alt='example' src='https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png' />}
    >
      <Meta
        title='Europe Street beat'
        description='www.instagram.com'
      />
    </Card>
  )