-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: [M3-6418] - MUI v5 Migration - Components > Toggle #8990
refactor: [M3-6418] - MUI v5 Migration - Components > Toggle #8990
Conversation
1 failed and 1 flaky tests on run #2950 ↗︎
Details:
cypress/e2e/general/smoke-deep-link.spec.ts • 1 failed test
cypress/e2e/linodes/rescue-linode.spec.ts • 1 flaky test
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@@ -1,2 +1 @@ | |||
import Toggle from './Toggle'; | |||
export default Toggle; | |||
export { Toggle, ToggleProps } from './Toggle'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting, I'm gonna fix it by separating the exports
export { Toggle } from './Toggle';
export type { ToggleProps } from './Toggle';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another reason I don't want to keep the index files around 😖
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this @hana-linode
Description 📝
<Toggle />
but there are no styles applied to it so I just did a clean up and modernization of the componentHow to test 🧪