score:1

Accepted answer

you should return an array of objects for the datasource. try the following..

_.map(this.props.fetchicon.icons, (icon) => {
    return {
      text: icon.name,
      value: <menuitem primarytext={icon.name} secondarytext={icon.name} />
    }
});

Related Query

More Query from same tag