From 0bb2b495a73902bc6e0fba7d979f1644b0fe1f5b Mon Sep 17 00:00:00 2001 From: Alex Windett Date: Wed, 23 Nov 2016 15:07:43 +0000 Subject: [PATCH] adding default values to iconSet prop and icon name --- ui/src/components/icon/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/icon/index.js b/ui/src/components/icon/index.js index 1eb1c8b0..d05ae575 100644 --- a/ui/src/components/icon/index.js +++ b/ui/src/components/icon/index.js @@ -3,9 +3,9 @@ const classNames = require('classnames'); const styles = require('./style.css'); const Icon = ({ - name, + name = 'beer', className, - iconSet, + iconSet = 'fa', style }) => {