You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--output` specifies the path to the output directory where the generated React icon files will be saved.
22
21
-`--input` specifies the path to the directory where the SVG files are located.
22
+
-`--output` specifies the path to the output directory where the generated React icon files will be saved.
23
+
-`--clean` flag is optional and specifies whether to clean width, height and fill attributes from the SVG files in input directory. By default, it is set to `false`.
23
24
24
25
## Example
25
26
Let's assume you have the following directory structure:
@@ -38,7 +39,7 @@ my-project/
38
39
39
40
To generate React icons from SVG files in the `src/assets` directory and save them in `src/components/common/Icon`, you can run the mentioned command
0 commit comments