import React from 'react'; import { View, StyleSheet } from 'react-native'; import PropTypes from 'prop-types'; const styles = StyleSheet.create({ container: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center' }, left: { marginLeft: 5 }, right: { marginRight: 5 } }); const Container = ({ children, left }) => ( {children} ); Container.propTypes = { children: PropTypes.arrayOf(PropTypes.element), left: PropTypes.bool }; Container.defaultProps = { left: false }; Container.displayName = 'HeaderButton.Container'; export default Container;