import React from 'react';
import { requireNativeComponent, Platform } from 'react-native';
declare var NVBarButton: any;

var BarButtonIOS = props => <NVBarButton key={props.systemItem} {...props} />;

export default Platform.OS === 'ios' ? requireNativeComponent('NVBarButton', BarButtonIOS as any) : () => null;

import React from 'react';
import { requireNativeComponent, Platform } from 'react-native';
declare var NVBarButton: any;

var BarButtonIOS = props => <NVBarButton {...props} key={props.systemItem} />;

export default Platform.OS === 'ios' ? requireNativeComponent('NVBarButton', BarButtonIOS as any) : () => null;

Revert "Switched so custom key takes precedence"
Revert "Switched so custom key takes precedence"

This reverts commit 94571767ffd556a38063ce61adc27ee0013c68e4.
