wip
This commit is contained in:
parent
0c8cad6608
commit
5cb1069c1c
@ -1,6 +1,5 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
import { Button, Image, StyleSheet, Text, View } from "react-native";
|
import { Image, StyleSheet, Text, View } from "react-native";
|
||||||
import SlideModal from "./slide-modal";
|
|
||||||
|
|
||||||
export default function SessionDetails() {
|
export default function SessionDetails() {
|
||||||
// Modal State
|
// Modal State
|
||||||
@ -20,8 +19,7 @@ export default function SessionDetails() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<View>
|
||||||
<SlideModal modalVisible={visible} setModalVisible={setVisible}>
|
|
||||||
<View style={styles.headerSection}>
|
<View style={styles.headerSection}>
|
||||||
<Text style={styles.header}>{sessionTitle}</Text>
|
<Text style={styles.header}>{sessionTitle}</Text>
|
||||||
<Text>{date}</Text>
|
<Text>{date}</Text>
|
||||||
@ -56,9 +54,7 @@ export default function SessionDetails() {
|
|||||||
<View style={styles.horizontalDivider} />
|
<View style={styles.horizontalDivider} />
|
||||||
<Text style={styles.gameType}>{gameType}</Text>
|
<Text style={styles.gameType}>{gameType}</Text>
|
||||||
<Text style={styles.notes}>{notes}</Text>
|
<Text style={styles.notes}>{notes}</Text>
|
||||||
</SlideModal>
|
</View>
|
||||||
<Button title="show modal" onPress={() => setVisible(true)} />
|
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user