import './demo3.css';
import Card from '..';
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '../..';

ReactDOM.render(
  <Card
    className="media-card"
    free
  >
    <Card.Media>
      <img src="https://img.alicdn.com/tfs/TB1FNIOSFXXXXaWXXXXXXXXXXXX-260-188.png" />
    </Card.Media>
    <Card.Header title="Title" subTitle="Sub Title" extra={[
      <Button type="primary" key="action1" text>More</Button>,
    ]} />
    <Card.Content>
        Lorem ipsum dolor sit amet, est viderer iuvaret perfecto et. Ne petentium quaerendum nec, eos ex recteque mediocritatem, ex usu assum legendos temporibus. Ius feugiat pertinacia an, cu verterem praesent quo.
    </Card.Content>
    <Card.Actions>
      <Button type="primary" key="action1" text>Action 1</Button>
      <Button type="primary" key="action2" text>Action 2</Button>
    </Card.Actions>
  </Card>
  , document.getElementById('card-demo-3'));
