Icon key prop

This commit is contained in:
Diego Mello 2017-12-07 13:29:12 -02:00
parent 32a08e0a74
commit eaad75a4fa
1 changed files with 2 additions and 0 deletions

View File

@ -65,12 +65,14 @@ export default class MessageBox extends React.Component {
icons.push(<MyIcon
style={[styles.actionButtons, { color: '#1D74F5' }]}
name='send'
key='sendIcon'
onPress={() => this.submit(this.component._lastNativeText)}
/>);
}
icons.push(<MyIcon
style={[styles.actionButtons, { color: '#2F343D', fontSize: 16 }]}
name='plus'
key='fileIcon'
onPress={() => this.addFile()}
/>);
return icons;