react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

How do I enter text in topbar?

Open mmatheusmmiguel opened this issue 9 years ago • 8 comments

Hey guys,

In the demo -> https://raw.githubusercontent.com/satya164/react-native-tab-view/master/demo/demo.gif

How can i put this text "Text only topbar" on the basic example who is in the project readme?

Thanks, Sorry my bad english.

mmatheusmmiguel avatar May 14 '17 16:05 mmatheusmmiguel

Any?

mmatheusmmiguel avatar May 15 '17 23:05 mmatheusmmiguel

It's just a view. put another view above it like you would do with normal react native components.

satya164 avatar May 17 '17 09:05 satya164

But should I put the view over which component? The TabBar or TabViewAnimated?

mmatheusmmiguel avatar May 17 '17 13:05 mmatheusmmiguel

That's upto you. Both will achieve the same result.

satya164 avatar May 17 '17 13:05 satya164

Ok, thanks!

mmatheusmmiguel avatar May 17 '17 13:05 mmatheusmmiguel

Hey Man,

Do you know how to remove this black shadow on this image?

mmatheusmmiguel avatar May 17 '17 15:05 mmatheusmmiguel

Pass style={{ elevation: 0, shadowOpacity: 0 }} to the TabBar

satya164 avatar May 17 '17 15:05 satya164

Oh thanks, man!

mmatheusmmiguel avatar May 17 '17 15:05 mmatheusmmiguel