I would like to make the buttons split into 2 buttons (left, right) so every button can be visible, I tried flex but it doesn't work.
It currently looks as follows.

App.js
import * as React from 'react';
import { View } from 'react-native';
import Buttons from './Buttons';
export default function App() {
return (
<View style={styles.container}>
<Buttons />
</View>
)
}
const styles = StyleSheet.create({
container: {
marginTop: 30,
flex : 1
}});
Buttons.js
export default function Buttons(){
let alpha = Array.from(Array(26)).map((e, i) => i + 65);
let alphabet = alpha.map((x) => String.fromCharCode(x));
let buttonList = [];
for(let i=0;i<alphabet.length;i++){
buttonList.push(<Button style={styles.box} key={i} title={alphabet[i]} />)
}
return buttonList;
}

