This is still wrong.    onRender in IContextualMenuItemProps takes in the item.    onRenderItem is a function that takes in "any" and "defaultRender". You're passing in the item, but not the defaultRender... so a caller will be very confused here.