Skip to content

Story: Fix Modal story after forwardRef was added #4

@vraja-pro

Description

@vraja-pro

In the issue Yoast/wordpress-seo#19607 forwardRef was added to the Modal component.
When using forward Ref we need to create a story component for the story book because the forwardRef removed the component name and also hides the props from storybook prop table.

Please also check for more usages of components in the storybook and which imports they use. For example the ErrorBoundary, notice the [object Object] in the Show code:
Image

(Thanks Petar for finding and mentioning this!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions