From dcdea9f30b419eeb8d55ed9be3f824aaf27de50c Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Thu, 24 Mar 2016 16:52:29 -0400
Subject: Added AddIntegration page

---
 .../backstage/add_integration_option.jsx           | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 webapp/components/backstage/add_integration_option.jsx

(limited to 'webapp/components/backstage/add_integration_option.jsx')

diff --git a/webapp/components/backstage/add_integration_option.jsx b/webapp/components/backstage/add_integration_option.jsx
new file mode 100644
index 000000000..3c3caf2f4
--- /dev/null
+++ b/webapp/components/backstage/add_integration_option.jsx
@@ -0,0 +1,39 @@
+// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+import React from 'react';
+
+import {Link} from 'react-router';
+
+export default class AddIntegrationOption extends React.Component {
+    static get propTypes() {
+        return {
+            image: React.PropTypes.string.isRequired,
+            title: React.PropTypes.node.isRequired,
+            description: React.PropTypes.node.isRequired,
+            link: React.PropTypes.string.isRequired
+        };
+    }
+
+    render() {
+        const {image, title, description, link} = this.props;
+
+        return (
+            <Link
+                to={link}
+                className='add-integration-option'
+            >
+                <img
+                    className='add-integration-option__image'
+                    src={image}
+                />
+                <div className='add-integration-option__title'>
+                    {title}
+                </div>
+                <div className='add-integration-option__description'>
+                    {description}
+                </div>
+            </Link>
+        );
+    }
+}
-- 
cgit v1.2.3-1-g7c22

