[EuiCallOut] TypeScript requiring unnecessary prop translate
#4660
Labels
⚠️ needs validation
For bugs that need confirmation as to whether they're reproducible
It seems the use of
Pick<>
in the<EuiCallOut>
type def is leading to unintentionally required props, specifically, it requires me to use "translate" in order to satisfy its requirements. Example—this code:...leads to this error:
And this "fixes" it:
Asking about this in #eui led to Chandler noting:
So here we are. Thanks for taking a look.
The text was updated successfully, but these errors were encountered: