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
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 packages/react/src/SelectPanel/SelectPanel.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.