
It is now spread across the entire width
what ?No One can solve it?
Fuck !!!!
what ?No One can solve it?
Do you want to display like this?
@BunHouth 是的
@BunHouth auto center
@BunHouth auto center
you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75

@yrjwcharm please kindly show me your code snippet.
The issue is you are trying to using Hooks methods inside class component.
Hi, I share an example of the indicator width wrap the content width.

The example code you can get it from here
@BunHouth auto center
you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75
success
Most helpful comment
you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75