Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-Native: Native base button bordered custom border width

I need to increase the border width of Native base default button. The default width is very thin , but there is no proper guide to customise the buttons in native base docs. Someone please guide me to adjust the bordered button width(thickness) in Native base ( react native ).

like image 688
FortuneCookie Avatar asked Mar 09 '26 16:03

FortuneCookie


1 Answers

borderWidth from theme variables file https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/commonColor.js#L257, this is commonly used across various components.

You can also customize this in https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/components/Button.js

like image 138
Supriya Kalghatgi Avatar answered Mar 12 '26 05:03

Supriya Kalghatgi



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!