Skip to content
/ svgr Public

Commit 180eb6d

Browse files
authoredAug 29, 2024··
docs: update docs about missing api options (#972)
1 parent 449f281 commit 180eb6d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
 

‎website/pages/docs/options.mdx

+6-6
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ Output files into a directory.
231231

232232
Specify a template function (API) to change default index.js output (when --out-dir is used).
233233

234-
| Default | CLI Override | API Override |
235-
| ---------------------------------------------------------------------------------------------- | ------------------ | -------------------------- |
236-
| [`basic template`](https://github.com/gregberge/svgr/blob/main/packages/cli/src/dirCommand.ts) | `--index-template` | indexTemplate: files => '' |
234+
| Default | CLI Override | API Override |
235+
| ---------------------------------------------------------------------------------------------- | ------------------ | ------------- |
236+
| [`basic template`](https://github.com/gregberge/svgr/blob/main/packages/cli/src/dirCommand.ts) | `--index-template` | not available |
237237

238238
## index.js file
239239

@@ -247,9 +247,9 @@ Disable index.js file generation
247247

248248
When used with `--out-dir`, it ignores already existing files.
249249

250-
| Default | CLI Override | API Override |
251-
| ------- | ------------------- | ------------------------- |
252-
| `false` | `--ignore-existing` | `ignoreExisting: boolean` |
250+
| Default | CLI Override | API Override |
251+
| ------- | ------------------- | ------------- |
252+
| `false` | `--ignore-existing` | not available |
253253

254254
## Filename case
255255

0 commit comments

Comments
 (0)
Please sign in to comment.