diff --git a/src/Item.js b/src/Item.js index fa99552c..f3b6e71b 100644 --- a/src/Item.js +++ b/src/Item.js @@ -78,6 +78,10 @@ export default class Item extends Component { restProps.onClick = this.onClick; } + if (typeof item.key === 'string') { + restProps.key = item.key; + } + return (