import { FlatList, StyleSheet, Text, View } from 'react-native' import React from 'react' import NoBookmarkSection from '../components/organisms/Sections/NoBookmarkSection' import HorizontalNewsCardVariant from '../components/organisms/Cards/HorizontalNewsCardVariant'; import fonts from '../theme/fonts'; import SearchTextInput from '../components/molecules/SearchTextInput'; const BookmarkPage = ({navigation}) => { const data = ["1", "2", "3", "4", "5"]; //const data = [] const detailPageNavigation = () => { navigation.navigate("Landing",{'screen':'NewsDetailPage'}) } return ( {data.length <= 0 ? : } // ListFooterComponent={() => } ListHeaderComponent={() => } data={data} renderItem={(item) => } keyExtractor={item => data.indexOf(item)} /> } ) } export default BookmarkPage const styles = StyleSheet.create({ container: { paddingHorizontal: fonts.getSize(16), } })