Update get-icon.js

add codepen
This commit is contained in:
Rémi BRUGUIER 2019-09-08 19:34:13 +02:00 committed by GitHub
parent bb292044f1
commit 3d81a8e6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,9 @@ const getIcon = (name: string) => {
case 'weibo':
icon = ICONS.WEIBO;
break;
case 'codepen':
icon = ICONS.CODEPEN;
break;
default:
icon = {};
break;
@ -49,4 +52,4 @@ const getIcon = (name: string) => {
return icon;
};
export default getIcon;
export default getIcon;