Find usages of React components that use a certain optional prop?

I would need this quite often:
Call "Find Usages (Alt + F7)" for a component (here ItemsTable, which is used hundreds of times in my codebase) but only when a certain optional prop (e.g. menuItems) is used.
Is this possible?
请先登录再写评论。
Did you try searching for menuItems usages instead of searching for component usages?
Yes. This searches for usages within ItemsTable but not for calls like
<ItemsTable menuItems = {}/>