Skip to content

Commit

Permalink
docs: update docs about missing api options (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
demedos committed Aug 29, 2024
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
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 180eb6d

Please sign in to comment.