added entities

added Cache, Event and Find entities for pressable and scrollable components
This commit is contained in:
suddenlyoranges committed 2026-04-09 14:52:56 +01:00
1 parent 4d5eac38b7
commit 6e25fe6807
6 files changed
+328

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import { ScrollView, StyleSheet } from "react-native";
import CacheItem from "./CacheItem";
const CacheList = ({ caches, foundCacheIds, onSelect }) => {
// Initialisations ---------------------
// State -------------------------------
// Handlers ----------------------------
// View --------------------------------
return (
<ScrollView style={styles.container}>
{caches.map((cache) => (
<CacheItem
key={cache.CacheID}
cache={cache}
isFound={foundCacheIds.includes(cache.CacheID)}
onSelect={onSelect}
/>
))}
</ScrollView>
);
};
const styles = StyleSheet.create({
container: {},
});
export default CacheList;