support styles on both `DraxList` and its `FlatList`
See original GitHub issueto have full control over the styles of this component I think it is currently needed to be able to pass styles both to the FlatList
and to the DraxList
. For example if I want to add padding to inside the FlatList
or have effectively flex: 1
it is needed to add styles to both elements.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Structure to drag Items between Lists and Items into other Items
I'm using a DraxList to render a list of DraxViews. ... property of the DraxView to be dragged, it causes the drag style...
Read more >React-Native Flatlist ignoring styles - Stack Overflow
I'm stuck in why the Flatlist ignores almost every style, like space-around list items and space-around header components and everything.
Read more >FlatList - React Native
FlatList. A performant interface for rendering basic, flat lists, supporting the most handy features: Fully cross-platform.
Read more >A deep dive into React Native FlatList - LogRocket Blog
The Item component will accept two props: title and description . This component will display them to the UI; The renderItem function will ......
Read more >How to use the FlatList Component — React Native Basics
There are two primary props you need to know about in a FlatList and that's data and renderItem. The first is an array...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
agreed, I think the more that can be accessed on the native
FlatList
the betterMerged in #91, new
DraxList
prop isflatListStyle
, and it will be in the 0.8.0 release tonight or tomorrow.