Command Item
... <EditorCommandItem value={item.title} onCommand={(val) => item.command(val)}> Do something </EditorCommand>