import { StyleSheet, Text, View, Button } from 'react-native';
import { useState } from 'react';
import Compa from './components/compa';
import Compb from './components/compb';
import Compc from './components/compc';
export default function App() {
const [selectedTab, setSelectedTab] = useState();
let setTab = (tab) => {
setSelectedTab(tab);
}
let selectTab = () => {
switch(selectedTab) {
case 'A':
return
case 'B':
return
case 'C':
return
default:
return
}
}
return (
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'skyblue',
alignItems: 'center',
justifyContent: 'center',
},
buttonBox: {
flex: 1,
width: '100%',
},
component: {
flex: 1,
}
});