Add basic working model using react-native-tab-view.

This commit is contained in:
2020-03-26 04:05:50 +05:30
parent 1dcc917825
commit 6a6795c7fb
4 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ function Subjects({ theme, subjects, addSubject, removeSubject }) {
setShowDialog(false);
}
return (
<Portal.Host><ScrollView>
<Portal.Host><ScrollView style={{ backgroundColor: theme.colors.background }}>
{subjects.length === 0 ?
<Text style={style.text}>
No Subjects added. Press + to add a subject.