From c9f481488946d1311dc00f8aa6c1f1b19703d454 Mon Sep 17 00:00:00 2001 From: PrabalSingh Date: Thu, 13 Feb 2020 05:54:01 +0530 Subject: [PATCH] add icons in relationship-section --- .../relationship-editor/relationship-section.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/client/entity-editor/relationship-editor/relationship-section.js b/src/client/entity-editor/relationship-editor/relationship-section.js index cc749361d..fce668e47 100644 --- a/src/client/entity-editor/relationship-editor/relationship-section.js +++ b/src/client/entity-editor/relationship-editor/relationship-section.js @@ -38,6 +38,7 @@ import type { Relationship as _Relationship } from './types'; import type {Dispatch} from 'redux'; // eslint-disable-line import/named +import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'; import PropTypes from 'prop-types'; import React from 'react'; import Relationship from './relationship'; @@ -78,7 +79,8 @@ function RelationshipList( bsStyle="warning" onClick={onEdit.bind(this, rowID)} > - Edit + +  Edit @@ -86,7 +88,8 @@ function RelationshipList( bsStyle="danger" onClick={onRemove.bind(this, rowID)} > - Remove + +  Remove @@ -182,7 +185,8 @@ function RelationshipSection({ bsStyle="success" onClick={onAddRelationship} > - Add relationship + +  Add relationship