Skip to content

Commit

Permalink
docs: update docs about missing api options (#972)
Browse files Browse the repository at this point in the history
demedos authored Aug 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 449f281 commit 180eb6d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions website/pages/docs/options.mdx
Original file line number Diff line number Diff line change
@@ -231,9 +231,9 @@ Output files into a directory.

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

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

## index.js file

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

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

| Default | CLI Override | API Override |
| ------- | ------------------- | ------------------------- |
| `false` | `--ignore-existing` | `ignoreExisting: boolean` |
| Default | CLI Override | API Override |
| ------- | ------------------- | ------------- |
| `false` | `--ignore-existing` | not available |

## Filename case

0 comments on commit 180eb6d

Please sign in to comment.