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:
parent
5fc507d9a9
commit
0bb2b495a7
@ -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
|
||||||
}) => {
|
}) => {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user