Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove bottom border of ListItem? #1844

Closed
alihesari opened this issue Apr 28, 2018 · 1 comment
Closed

How to remove bottom border of ListItem? #1844

alihesari opened this issue Apr 28, 2018 · 1 comment
Labels

Comments

@alihesari
Copy link

alihesari commented Apr 28, 2018

Hi, I read some Issues to solve this problem. But the problem not solved. I'm using this code:

<List
            dataArray={routes}
            contentContainerStyle={{ marginTop: 120 }}
            renderRow={data => {
              return (
                <ListItem
                  button
                  icon
                  onPress={() => this.props.navigation.navigate(data.route)}
                  style={{
                    borderBottomWidth: 0
                  }}
                  noBorder
                >
                  <Body>
                    <Text style={{fontFamily:'IRANSans',textAlign: 'right', width: '100%'}}>
                      {data.label}
                    </Text>
                  </Body>
                  <Right>
                    <Image source={data.icon} style={{
                      width: 30,
                      height: 30,
                      resizeMode: 'contain',
                      marginLeft: 15
                    }} />
                  </Right>
                </ListItem>
              );
            }}
          />
@akhil-ga akhil-ga added the bug label May 2, 2018
akhil-ga added a commit that referenced this issue May 2, 2018
Fix for issue #1844 (How to remove bottom border of ListItem)
@SupriyaKalghatgi
Copy link
Contributor

Fixed with 2.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants