Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react-native-paper DataTable styles

I am using react-native-paper DataTable to layout my screen. So far, everything is going ok, but I have not been able to delete the line that separates the rows in the table (DataTable.Row). Do you know how to do it? You can refer to the documentation here

enter image description here

like image 262
Mateo Lara Avatar asked Mar 01 '26 07:03

Mateo Lara


1 Answers

The DataTable.Row documentation shows it has a style prop, you can use that to set the bottom border width to 0

    <DataTable.Row style={{ borderBottomWidth: 0 }}>
       ...
    </DataTable.Row>
like image 66
diedu Avatar answered Mar 03 '26 04:03

diedu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!