import React from 'react';
import {StyleSheet, View} from 'react-native';
import {Tabs} from 'react-native-collapsible-tab-view';
import {useTheme} from 'react-native-elements';
import PostCard from '../post/components/PostCard';
import UserProfileDetails from './UserProfileDetails';
import UserProfileHeader from './UserProfileHeader';
import React from 'react'; import {StyleSheet, View} from 'react-native'; import {Tabs} from 'react-native-collapsible-tab-view'; import {useTheme} from 'react-native-elements'; import PostCard from '../post/components/PostCard'; import UserProfileDetails from './UserProfileDetails'; import UserProfileHeader from './UserProfileHeader';
const CollapsibleTabView = ({data, navigation, userData}) => { const {theme} = useTheme(); const Header = () => { return ( <View style={[ styles.headerStyle, {backgroundColor: theme.colors.postCardBackground}, ]}>
};
const renderItem = ({item}) => { return ( <View style={[ styles.cardStyle, {backgroundColor: theme.colors.postCardBackground}, ]}>
};
return (
); }; const styles = StyleSheet.create({ cardStyle: { marginBottom: 16, padding: 16, }, }); export default CollapsibleTabView;