Context Menus for React
Browse the Source
This example shows how you can use a single function to generate unique menus based on the props of the item that was right clicked.