Skip to content

Wildcard: [Menu] Add different styles variations for the `MenuItem` component

Created by: vovakulikov

Follow up for https://github.com/sourcegraph/sourcegraph/pull/32327

Context

In our app, we have a few places where we want to style menu items in a different way compared to standard menu item styles. (similar to the Button component we want to have danger styles, info styles, etc)

Specific example: Code Insights Insight context menu items. Note that the "Delete" item should have a danger variant here - Desings

Screenshot 2022-03-09 at 17 35 05