1*f500022eSBartosz Kaszubowskiimport React, { PropsWithChildren } from 'react'; 2*f500022eSBartosz Kaszubowskiimport { StyleSheet, View, ViewProps } from 'react-native'; 3*f500022eSBartosz Kaszubowski 4*f500022eSBartosz Kaszubowskiconst HeaderContainerRight = (props: PropsWithChildren<ViewProps>) => ( 5*f500022eSBartosz Kaszubowski <View {...props} style={[styles.container, props.style]} /> 6*f500022eSBartosz Kaszubowski); 7*f500022eSBartosz Kaszubowski 8*f500022eSBartosz Kaszubowskiconst styles = StyleSheet.create({ 9*f500022eSBartosz Kaszubowski container: { 10*f500022eSBartosz Kaszubowski paddingRight: 8, 11*f500022eSBartosz Kaszubowski flexDirection: 'row', 12*f500022eSBartosz Kaszubowski }, 13*f500022eSBartosz Kaszubowski}); 14*f500022eSBartosz Kaszubowski 15*f500022eSBartosz Kaszubowskiexport default HeaderContainerRight; 16