mirror of
https://github.com/yldio/copilot.git
synced 2024-11-13 06:40:06 +02:00
adding default values to iconSet prop and icon name
This commit is contained in:
parent
5fc507d9a9
commit
0bb2b495a7
@ -3,9 +3,9 @@ const classNames = require('classnames');
|
||||
const styles = require('./style.css');
|
||||
|
||||
const Icon = ({
|
||||
name,
|
||||
name = 'beer',
|
||||
className,
|
||||
iconSet,
|
||||
iconSet = 'fa',
|
||||
style
|
||||
}) => {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user