Skip to content

fix(public-docsite-v9): subcomponents prop docs are not visible on docsite#32382

Merged
dmytrokirpa merged 2 commits into
microsoft:masterfrom
dmytrokirpa:fix/docsite-subcomponents-props
Aug 26, 2024
Merged

fix(public-docsite-v9): subcomponents prop docs are not visible on docsite#32382
dmytrokirpa merged 2 commits into
microsoft:masterfrom
dmytrokirpa:fix/docsite-subcomponents-props

Conversation

@dmytrokirpa

@dmytrokirpa dmytrokirpa commented Aug 26, 2024

Copy link
Copy Markdown
Contributor

Previous Behavior

During the migration to #32018, as per migration guide, we replaced <ArgTable /> with <ArgTypes />. However, this has led to an issue where does not support subcomponents, preventing their prop documentation from being displayed on the documentation site.

New Behavior

The properties of subcomponents are accessible on the documentation site:

image

The proposed solution is to switch back to the ArgsTable as it's still available in Storybook v7, and switch to ArgTypes after migration to Storybook v8, where subcomponents support are in place.

Related Issue(s)

@fabricteam

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

✅ No changes found

@dmytrokirpa
dmytrokirpa marked this pull request as ready for review August 26, 2024 12:42
@dmytrokirpa
dmytrokirpa requested review from a team as code owners August 26, 2024 12:42
@dmytrokirpa dmytrokirpa changed the title fix(public-docsite-v9): subcomponents props are not visible on docsite fix(public-docsite-v9): subcomponents prop docs are not visible on docsite Aug 26, 2024
@dmytrokirpa
dmytrokirpa merged commit 6bc0d22 into microsoft:master Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Subcomponents props are not displayed on the docsite

3 participants