From 180eb6d503215fc782dfece351ff751194a0dfed Mon Sep 17 00:00:00 2001 From: Alessandro Diez Date: Thu, 29 Aug 2024 17:17:55 +0200 Subject: [PATCH] docs: update docs about missing api options (#972) --- website/pages/docs/options.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/pages/docs/options.mdx b/website/pages/docs/options.mdx index 6befea2c..cb11e942 100644 --- a/website/pages/docs/options.mdx +++ b/website/pages/docs/options.mdx @@ -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