import React from 'react' ; import { View } from 'react-native' ; import { RateModalStyles } from '../Assets/Styles/RateModal' ; import { IProps } from '../Interfaces/IButtonContainer' ; export function ButtonContainer ( props ) { const { buttonContainer } = RateModalStyles ; const { styles , children } = props ; return ( < View style = { [ buttonContainer , styles . buttonContainer ] } > < View style = { { flex : 1 } } > < /View> { children } < /View>); }