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
Type check fails when you have both an onClick prop and an href prop. Even if you are not using iconOnClick, if you have an href prop, type check requires iconOnClick and iconOnClickAriaLabel.
The EuiBadge type is inferred since type check knows it can't be an anchor because there's an onClick and it can't be a button because there's an anchor, so it must be the last type, which is iconOnClick+iconOnClickAriaLabel.
The text was updated successfully, but these errors were encountered:
Type check fails when you have both an
onClick
prop and anhref
prop. Even if you are not usingiconOnClick
, if you have anhref
prop, type check requiresiconOnClick
andiconOnClickAriaLabel
.The EuiBadge type is inferred since type check knows it can't be an anchor because there's an onClick and it can't be a button because there's an anchor, so it must be the last type, which is iconOnClick+iconOnClickAriaLabel.
The text was updated successfully, but these errors were encountered: