1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00

adding default values to iconSet prop and icon name

This commit is contained in:
Alex Windett 2016-11-23 15:07:43 +00:00
parent 5fc507d9a9
commit 0bb2b495a7

View File

@ -3,9 +3,9 @@ const classNames = require('classnames');
const styles = require('./style.css'); const styles = require('./style.css');
const Icon = ({ const Icon = ({
name, name = 'beer',
className, className,
iconSet, iconSet = 'fa',
style style
}) => { }) => {