javascripter / fontawesome.macro

Import fontawesome icons automatically with fas('smile') or fas`smile` using this babel macro
18 stars 2 forks source link

Source Code Refactored #181

Closed sojinsamuel closed 2 years ago

sojinsamuel commented 2 years ago

The string will be converted to lowercase before performing string operations which are better than performing the lowercase operation in the middle and the return keyword is being removed from the arrow function since it wasn't required after code refactoring plus it also obstructed readability due to multiple chaining

javascripter commented 2 years ago

Thanks. LGTM