Skip to content

Commit

Permalink
Merge pull request #12167 from tyankatsu0105/docs/add-default-value
Browse files Browse the repository at this point in the history
docs: add typescript defaults reference
  • Loading branch information
shilman committed Oct 26, 2021
2 parents 766164c + ce5686e commit 842d479
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configure/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ The following code snippets shows the fields for you to use with TypeScript:
| **reactDocgen** | React | Which react docgen processor to run: `"react-docgen-typescript"`, `"react-docgen"`, `false` | string or false |
| **reactDocgenTypescriptOptions** | React | Options to pass to react-docgen-typescript-plugin if react-docgen-typescript is enabled. | [See docs](https://github.com/hipstersmoothie/react-docgen-typescript-plugin) |

See default values [here](https://github.com/storybookjs/storybook/blob/next/lib/core-server/src/presets/common-preset.ts#L51)

### Overriding the configuration to infer additional props

The configuration provided above will remove any props from any third party libraries.
Expand Down

0 comments on commit 842d479

Please sign in to comment.