import { View, FlatList, StyleSheet } from 'react-native';
import StoryCircleListItem from './StoryCircleListItem';
const StoryCircleListView = ({
  data,
  handleStoryItemPress,
  isCommunityStory = false
}) => {
  return /*#__PURE__*/React.createElement(FlatList, {
    keyExtractor: (_item, index) => index.toString(),
    data: data,
    horizontal: true,
    showsVerticalScrollIndicator: false,
    showsHorizontalScrollIndicator: false,
    ListFooterComponent: /*#__PURE__*/React.createElement(View, {
      style: styles.footer
    }),
    renderItem: ({
      item,
      index
    }) => /*#__PURE__*/React.createElement(StoryCircleListItem, {
      handleStoryItemPress: () => handleStoryItemPress && handleStoryItemPress(item, index),
      item: item,
      isCommunityStory: isCommunityStory
    })
  });
};
const styles = StyleSheet.create({
  footer: {
    flex: 1,
    width: 8
  }
});
export default StoryCircleListView;
//# sourceMappingURL=StoryCircleListView.js.map