Nativebase: how remove the bottom Separator line in ListItem

Created on 30 Aug 2017  路  7Comments  路  Source: GeekyAnts/NativeBase

Most helpful comment

@Josin22 Apply noBorder prop on ListItem.

<ListItem noBorder>

All 7 comments

@Josin22 Apply noBorder prop on ListItem.

<ListItem noBorder>

<ListItem avatar key={'item'+data.id} noBorder={true}> not working

it should be

@Josin22 still not working

try this :

@ShaileshPrajapati-BTC In <ListItem/> add borderBottomWidth:0 to style for both <Body> and <Right> components

<ListItem avatar>
    <Body style={{ borderBottomWidth: 0 }}></Body>
    <Right style={{ borderBottomWidth: 0 }}></Right>
</ListItem>

Finally managed to do this!
Just set _containerStyle_ for ListItem to borderBottomColor: 'transparent' and borderBottomWidth: 0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bundas picture Bundas  路  3Comments

natashache picture natashache  路  3Comments

kitsune7 picture kitsune7  路  3Comments

georgemickael-b picture georgemickael-b  路  3Comments

agersoncgps picture agersoncgps  路  3Comments