summaryrefslogtreecommitdiff
path: root/frontend/src/components/errors/errorToast
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2017-05-19 20:17:35 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-05-20 00:12:39 +0200
commita13f913c6a594a14a2cb9ab42dbd0493372583fb (patch)
tree2ac200b06532b7be09b0192a4455ab132cd5010b /frontend/src/components/errors/errorToast
parentSet versions of packages to latest (diff)
downloadseven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.gz
seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.tar.bz2
seven-wonders-a13f913c6a594a14a2cb9ab42dbd0493372583fb.zip
Add error toasts
Diffstat (limited to 'frontend/src/components/errors/errorToast')
-rw-r--r--frontend/src/components/errors/errorToast9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/src/components/errors/errorToast b/frontend/src/components/errors/errorToast
new file mode 100644
index 00000000..39020088
--- /dev/null
+++ b/frontend/src/components/errors/errorToast
@@ -0,0 +1,9 @@
+import React from 'react'
+
+const MyToastContent = (props) => (
+ <div>
+ <span>{props.myContent.message}</span>
+ </div>
+)
+
+export default MyToastContent
bgstack15