From fb49d381027c8f7925b04f173d2035bf3b54d78c Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Tue, 14 Feb 2017 17:42:52 -0800 Subject: [PATCH] gt - Update Alert warning to use Saffron icon --- src/components/Alert.js | 2 +- test/components/Alert.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Alert.js b/src/components/Alert.js index 85d80be97..375e581f7 100644 --- a/src/components/Alert.js +++ b/src/components/Alert.js @@ -3,7 +3,7 @@ import { Icon } from '../'; import { Alert } from 'reactstrap'; const ICON_MAP = { - warning: 'bullhorn', + warning: 'exclamation-circle', success: 'check', info: 'info-circle', danger: 'ban' diff --git a/test/components/Alert.spec.js b/test/components/Alert.spec.js index 12d538a62..479069603 100644 --- a/test/components/Alert.spec.js +++ b/test/components/Alert.spec.js @@ -24,9 +24,9 @@ describe('', () => { }); describe('with icon', () => { - it('should show bullhorn for warning', () => { + it('should show exclamation-circle for warning', () => { const icon = shallow().find(Icon); - assert.equal(icon.prop('name'), 'bullhorn'); + assert.equal(icon.prop('name'), 'exclamation-circle'); }); it('should show ban for danger', () => {