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
Looks like if you provide a defaultProp value, react-docgen will mark said prop as not required1 . Which...is arguably correct, and regardless brings up a better point about the EuiSuperSelect component definition.
We should remove the defaultProp value for options ([]) as it still results in a TypeError2 and that TypeError is less helpful than the failed prop type warning from React.
EuiSuperSelect
's options prop hasisRequired
, but react-docgen doesn't appear to notice that when generating documentation.The text was updated successfully, but these errors were encountered: