diff --git a/docs/api/csf/csf-next.mdx b/docs/api/csf/csf-next.mdx index 15ab36d98fbe..d11363c28064 100644 --- a/docs/api/csf/csf-next.mdx +++ b/docs/api/csf/csf-next.mdx @@ -559,6 +559,10 @@ Storybook will continue to support CSF 1, [CSF 2](../../../release-6-5/docs/api/ While using CSF Next, you can still use the older formats, as long as they are not mixed in the same file. If you want to migrate your existing files to the new format, refer to [the upgrade section](#upgrading-from-csf-1-2-or-3), above. +### How do I use custom arg types with this format? + +The [`preview.type`](#previewtypemeta) function allows you to specify custom types for your story's args, which can be used to provide type safety for custom arg types. + ### Will this format work with MDX docs pages? Yes, the [doc blocks](../../writing-docs/doc-blocks.mdx) used to reference stories in MDX files support the CSF Next format with no changes needed.