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
Using info as a value for the prop intent of a Menu.itemworks as expected, but displays a warning in the console, saying that the prop is invalid:
Warning: Failed prop type: Invalid prop `intent` of value `info` supplied to `ForwardRef(MenuItem)`, expected one of ["none","success","warning","danger"].
I think we just need to add this value to this line:
Using
info
as a value for the propintent
of aMenu.item
works as expected, but displays a warning in the console, saying that the prop is invalid:I think we just need to add this value to this line:
evergreen/src/menu/src/MenuItem.js
Line 165 in 674d9a1
Maybe it should use a global configuration array of allowed values for this prop?
The text was updated successfully, but these errors were encountered: