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