fjmorant/react-native-nested-listview

Add to NestedRow paddingLeftIncrement prop

fjmorant opened this issue · 0 comments

Now the NstedRow component has a fixed paddingLeft increment of ten times the current level as you can see in this code:

<View
style={[
    styles.nestedRow,
    {
    ...style,
    height,
    paddingLeft: level * 10,
    },
]}>
   {children}
</View>

Now then is fixed, you should be able to set the paddingLeftIncrement per level