Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 844bcfb

Browse files
committed
docs(icon): documented parseFAIcons utils
1 parent 93b82d5 commit 844bcfb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/utils/icons.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import merge from 'lodash-es/merge'
22

3+
/**
4+
* @description Parse all Font Awesome Icons
5+
* @param {Object} iconSet - Registered Icons object
6+
* @returns {Object} - All Font awesome icons parsed.
7+
*/
38
const parseFAIcons = (iconSet) => {
49
const parseFAIcon = (iconObject) => {
510
const { icon } = iconObject
@@ -15,7 +20,6 @@ const parseFAIcons = (iconSet) => {
1520
.map(value => parseFAIcon(value))
1621
.reduce((target, source) => merge(target, source), {})
1722

18-
console.log({ result })
1923
return result
2024
}
2125

0 commit comments

Comments
 (0)