summaryrefslogtreecommitdiff
path: root/www/app/components/error_panel.js
blob: fc88d4593ac206250dfc1f34ad3f526e6279f3b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import React from 'react'
import Center from './center'
import Area from './area'

export default class ErrorPanel extends React.Component {

  constructor(props) {
    super(props)
  }

  render () {
    return (
      <Center width="400">
        <Area>
          <h1>Error</h1>
          {this.props.error}
        </Area>
      </Center>
    )
  }
}