import './demo1.css';
import Card from '..';
import React from 'react';
import ReactDOM from 'react-dom';

const commonProps = {
  subTitle: 'SubTitle',
  extra: (
    <a href="#111"> Link </a>
  ),
};

ReactDOM.render(
  <div>
    <Card free style={{ width: 300 }}>
      <Card.Header title="Simple Card" {...commonProps} />
      <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>
  </div>,
  document.getElementById('card-demo-1'),
);
