The acceptable types for EuiCard are either a React Component or undefined. We're using a function to get the Icon component. Sometimes we (in Cloud) do not want to display an icon, which is typically done by returning null.
Can null be added as an accepted type?
The acceptable types for EuiCard are either a React Component or
undefined. We're using a function to get the Icon component. Sometimes we (in Cloud) do not want to display an icon, which is typically done by returning null.Can null be added as an accepted type?