summaryrefslogtreecommitdiff
path: root/www/app/components/error_panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/app/components/error_panel.js')
-rw-r--r--www/app/components/error_panel.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/www/app/components/error_panel.js b/www/app/components/error_panel.js
new file mode 100644
index 00000000..fc88d459
--- /dev/null
+++ b/www/app/components/error_panel.js
@@ -0,0 +1,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>
+ )
+ }
+}