Closed azcn2503 closed 2 years ago
Icomoon gives this file when you download it as a font.
Step 1: Select icons
Step 2: Click Generate Font
Step 3: Download Font
The zip you downloaded will contain a selection.json
file.
I will soon announce a project that facilitates this process.
By using this project instead of Icomoon, you will be able to generate the selection.json
file in seconds. 🎉
Much appreciated! I was using the menu at the top right of the app to download the selection JSON.
Hello,
It looks like the iconset JSON exported from the IcoMoon App (https://icomoon.io/app/#/select) is not providing a
properties
prop within its icon definitions any more.Example of an icon definition taken from the JSON:
So trying to render an icon using a
icon
prop throws an error due to the check here: https://github.com/aykutkardas/react-icomoon/blob/master/src/index.tsx#L60 sinceproperties
is undefined.