import React from 'react';

import { Result } from 'antd';

export default (props) => (
  <Result
    status="500"
    title="500"
    style={{
      background: 'none',
    }}
    subTitle={props.message || (history.state && history.state.message) || "Sorry, the server is reporting an error."}
    extra={ null
        // <Button type="primary">Back Home</Button>
    }
  />
);