|
7 | 7 |     |
8 | 8 |
|
9 | 9 | <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> |
| 10 | + |
10 | 11 | [](#contributors-) |
| 12 | + |
11 | 13 | <!-- ALL-CONTRIBUTORS-BADGE:END --> |
12 | 14 |
|
13 | 15 | <!-- START doctoc generated TOC please keep comment here to allow auto update --> |
@@ -252,7 +254,7 @@ accepts an object with the filename as key and the svg data as key. |
252 | 254 | | outputDirectory | string | "./dist" | name of the output directory | |
253 | 255 | | objectName | string | default - export | name of the exported const - if nothing is set - default export will be used | |
254 | 256 | | verbose | boolean | false | defines if the log should contain additional information. Can be useful for debugging | |
255 | | -| generateType | boolean | true | defines if it's needed to generate type | |
| 257 | +| generateType | boolean | true | defines if a type should be generated | |
256 | 258 | | typeName | string | MyIconType | name of the type to be used when `generateType` is set to `true` | |
257 | 259 | | namePrefix | string | | prefix to be used for the name property included in the generated constant | |
258 | 260 |
|
@@ -295,9 +297,9 @@ Only the icons included in the consuming SPA also end up in the final bundle of |
295 | 297 |
|
296 | 298 | | --version | type | default | description | |
297 | 299 | | --------------------- | -------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------- | |
298 | | -| typeName | string | myIcons | name of the generated type | |
299 | 300 | | tsx | boolean | false | Generate TSX file which can be used as React components out of the box | |
300 | | -| generateType | boolean | false | prevent generating enumeration type | |
| 301 | +| generateType | boolean | false | defines if a type should be generated | |
| 302 | +| typeName | string | myIcons | name of the type to be used when `generateType` is set to `true` | |
301 | 303 | | generateTypeObject | boolean | false | generate type object | |
302 | 304 | | generateEnum | boolean | false | generate enum object | |
303 | 305 | | prefix | string | myIcon | prefix for the generated svg constants | |
@@ -389,8 +391,8 @@ end up there. |
389 | 391 | | ------------------------- | -------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
390 | 392 | | barrelFileName | string | index | name of the generated type | |
391 | 393 | | tsx | boolean | false | Generate TSX file which can be used as React components out of the box | |
392 | | -| typeName | string | myIcons | name of the generated type | |
393 | | -| generateType | boolean | false | prevent generating enumeration type | |
| 394 | +| generateType | boolean | false | defines if a type should be generated | |
| 395 | +| typeName | string | myIcons | name of the type to be used when `generateType` is set to `true` | |
394 | 396 | | generateTypeObject | boolean | false | generate type object | |
395 | 397 | | generateEnum | boolean | false | generate enum object | |
396 | 398 | | exportCompleteIconSet | boolean | false | Specifies if the complete icon set should be exported or not (can be very handy for showcases) | |
|
0 commit comments