diff --git a/docs/api/argtypes.md b/docs/api/argtypes.md index 5112246008c..59c8bc41fb6 100644 --- a/docs/api/argtypes.md +++ b/docs/api/argtypes.md @@ -85,6 +85,12 @@ These values--description, table.type, and controls.type--get merged over the de In particular, this would render a row with a modified description, a type display with a dropdown that shows the detail, and no control. +
+ +As it happens with other properties such as `args`, `argTypes` can be overridden in a single story. + +
+ #### Using argTypes in addons If you want to access the argTypes of the current component inside an addon, you can use the `useArgTypes` hook from the `@storybook/api` package: