From 299f7e2282211640c8f63177105889b53d397d01 Mon Sep 17 00:00:00 2001
From: Alex Windett
Date: Wed, 1 Feb 2017 14:48:06 +0000
Subject: [PATCH] converting simple elements to a base-element;
---
frontend/src/components/empty/instances.js | 9 +++++++--
frontend/src/components/empty/services.js | 18 ++++++++++++------
frontend/src/components/people-list/index.js | 7 ++++++-
3 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/frontend/src/components/empty/instances.js b/frontend/src/components/empty/instances.js
index 739406c1..71bc8fc0 100644
--- a/frontend/src/components/empty/instances.js
+++ b/frontend/src/components/empty/instances.js
@@ -3,6 +3,11 @@ const ReactIntl = require('react-intl');
const Column = require('@ui/components/column');
const Row = require('@ui/components/row');
+const BaseElements = require('@ui/components/base-elements');
+
+const {
+ P
+} = BaseElements;
const {
FormattedMessage
@@ -11,9 +16,9 @@ const {
module.exports = () => (
-
+
-
+
);
diff --git a/frontend/src/components/empty/services.js b/frontend/src/components/empty/services.js
index 0ca25851..0c210aa5 100644
--- a/frontend/src/components/empty/services.js
+++ b/frontend/src/components/empty/services.js
@@ -4,6 +4,12 @@ const ReactIntl = require('react-intl');
const Button = require('@ui/components/button');
const Column = require('@ui/components/column');
const Row = require('@ui/components/row');
+const BaseElements = require('@ui/components/base-elements');
+
+const {
+ P,
+ H3,
+} = BaseElements;
const {
FormattedMessage
@@ -13,12 +19,12 @@ module.exports = () => (
-
+
-
-
+
+
-
+
@@ -27,9 +33,9 @@ module.exports = () => (
-
+
-
+
diff --git a/frontend/src/components/people-list/index.js b/frontend/src/components/people-list/index.js
index 4660c6ea..8b9739b9 100644
--- a/frontend/src/components/people-list/index.js
+++ b/frontend/src/components/people-list/index.js
@@ -3,10 +3,15 @@ const React = require('react');
const Row = require('@ui/components/row');
const Column = require('@ui/components/column');
const Button = require('@ui/components/button');
+const BaseElements = require('@ui/components/base-elements');
const PeopleTable = require('./table');
const Invite = require('./invite');
+const {
+ H3,
+} = BaseElements;
+
const buttonStyle = {
float: 'right'
};
@@ -39,7 +44,7 @@ const People = (props) => {
{ people.length > 0
?
- : Noody here!
}
+ : Noody here!
}