UNPKG
@32penkin/kitten-icons
Version:
beta (0.0.5-beta.1)
latest (0.0.1)
0.0.5-beta.1
0.0.1
@ui-kitten/eva-icons
github.com/akveo/react-native-ui-kitten
akveo/react-native-ui-kitten
@32penkin/kitten-icons
/
createIconsMap.js
10 lines
•
321 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ findIconByName }
from
'react-native-eva-icons/icons'
;
import
{
EvaIcon
}
from
'./evaIcon.component'
;
export
const
createIconsMap
= (
) => {
return
new
Proxy
({}, {
get
(
target, name
) {
return
new
EvaIcon
(
findIconByName
(name)); }, }); };
//# sourceMappingURL=createIconsMap.js.map