hyochan / hyochan/react-native-masonry-list
No Output Rendering in Expo
- Dominant language
- TypeScript
- Stars
- 437
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I am trying to render a basic `MasonryList`. But not able to generate any output. However it works with vanilla `FlatList`.
**To Reproduce**
Here is the code:
```
import { StyleSheet, View, FlatList } from "react-native";
import React from "react";
import { SafeAreaView } from "react-native-safe-area-context";
import MasonryList from "@react-native-seoul/masonry-list";
import DashboardCard from "@/components/DashboardCard";
import { widgets } from "@/constants/widgets";
const Dashboard = () => {
return (
{/* item.id}
renderItem={(item) => }
/> */}
item.id}
numColumns={2}
showsVerticalScrollIndicator={false}
renderItem={({ item }) => }
onEndReachedThreshold={0.1}
/>
);
};
export default Dashboard;
```
**Smartphone:**
- Device: Android
- Version [13]
**package version**
`@react-native-seoul/masonry-list": "^1.4.2`
Contributor guide
Assessment
This issue has not been assessed yet.