Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/api/csf/csf-next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading