-
Notifications
You must be signed in to change notification settings - Fork 322
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(MenuItem): separate SubMenuIcon logic from MenuItem #2100
Conversation
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.
🥇
packages/core/src/components/Menu/MenuItem/__stories__/MenuItem.stories.tsx
Show resolved
Hide resolved
parameters: { | ||
docs: { | ||
liveEdit: { | ||
scope: { Activity } |
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.
What it this?
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.
<MenuItem title="SVG icon" icon={Activity} />
I need to add this icon to the scope
otherwise it will only know what is VibeIcons.Activity, but the story says Activity
.../src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.module.scss
Show resolved
Hide resolved
...ore/src/components/Menu/MenuItem/components/MenuItemSubMenuIcon/MenuItemSubMenuIcon.types.ts
Show resolved
Hide resolved
...mponents/Menu/MenuItem/components/MenuItemSubMenuIcon/__tests__/MenuItemSubMenuIcon.jest.tsx
Show resolved
Hide resolved
7ea79e3
into
MenuItem-Section-refactor---create-a-base-component-to-be-used-by-custom-implementations-6359753142
https://monday.monday.com/boards/3532715121/pulses/6566973814