While working on a different issue I found that we can create EuiButtonIcon without an icon which results on an empty icon button.
The iconType should be required to avoid these cases and to emphasize that consumers should only use this component with an icon.
While working on a different issue I found that we can create EuiButtonIcon without an icon which results on an empty icon button.
The
iconTypeshould be required to avoid these cases and to emphasize that consumers should only use this component with an icon.