/**
 * title: "空白卡片"
 * description: "不包含标题，仅内容"
 */
import React from 'react';
import { Card } from '@alicloud/console-components';

const cardContent: React.CSSProperties = {
  background: '#f6f6f6',
  width: '100%',
  height: '100%',
  borderRadius: '4px',
  textAlign: 'center',
  lineHeight: '100%',
  color: '#aaaaaa',
  position: 'relative',
};

const contentext: React.CSSProperties = {
  lineHeight: '20px',
  position: 'absolute',
  top: '50%',
  width: '100%',
  marginTop: '-10px',
};

export default () => {
  const CardContent = () => (
    <div style={cardContent}>
      <div style={contentext}>Card Content</div>
    </div>
  );
  return (
    <Card style={{ width: 500 }}>
      <CardContent />
    </Card>
  );
};


