From 18797aa45fd45d4f3d5e70c39061324c4311983d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 6 Sep 2021 17:55:36 -0500 Subject: add ErrorSegment --- src/web/src/components/Shared/ErrorSegment.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/web/src/components/Shared/ErrorSegment.js (limited to 'src/web') diff --git a/src/web/src/components/Shared/ErrorSegment.js b/src/web/src/components/Shared/ErrorSegment.js new file mode 100644 index 00000000..7a6caa9d --- /dev/null +++ b/src/web/src/components/Shared/ErrorSegment.js @@ -0,0 +1,14 @@ +import React from 'react'; + +import { Segment, Header, Icon } from 'semantic-ui-react'; + +const ErrorSegment = ({ icon, caption }) => ( + +
+ + Error: {caption} +
+
+); + +export default ErrorSegment; \ No newline at end of file -- cgit v1.2.3