You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dot-notation components and trying to document them with the subcomponents property within the meta object, there is a type error :
Type 'FC<PageTitleProps>' is not assignable to type 'ComponentType<unknown>'.
Type 'FunctionComponent<PageTitleProps>' is not assignable to type 'FunctionComponent<unknown>'.
Type 'unknown' is not assignable to type 'PageTitleProps'.(2322)
Therefore, the subcomponents are still displayed in the UI, but without their props.
Describe the bug
When using dot-notation components and trying to document them with the
subcomponents
property within themeta
object, there is a type error :Therefore, the subcomponents are still displayed in the UI, but without their props.
These issues seem to occur from version v8.5.0.
Reproduction link
https://stackblitz.com/edit/github-bhdi5mrc
Reproduction steps
src/stories/Page.stories.ts
subcomponents
object within themeta
object.System
Additional context
No response
The text was updated successfully, but these errors were encountered: