Skip to content

Update Dialog/Dialog.features.stories.tsx to no longer use styled-components #6409

@joshblack

Description

@joshblack

As we move away from styled-components, we would like to remove references and usage of the library in our storybook stories.

This issue tracks updating Dialog/Dialog.features.stories.tsx to no longer use styled-components.

Copilot instructions

A story uses styled-components either directly or through other components or props. Make sure to migrate the story appropriate in the following situations:

  • If using styled directly in a story, migrate it to a custom components without styled
  • If using Box or BoxWithFallback, migrate to a custom component
  • If using the sx prop, migrate to a class name

The project uses CSS Modules. For styles specific to a story, make a CSS Module next to the story and import the classes for custom components or styles from there.

It's important that you make no changes to the source files of components. All changes must be in the storybook stories.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions