0
我正在使用來自https://github.com/skv-headless/react-native-scrollable-tab-view/blob/master/DefaultTabBar.js#L75的react-native-scrollable-tab,我想從提供的'#ccc'到'white'中覆蓋'tabs'的'borderBottomColor'屬性。如何覆蓋React Native中的樣式表?
如何在React Native中執行此操作?
例如,我嘗試以下,但沒有奏效:
<ScrollableTabView
style={{borderBottomColor: 'white'}}
>...</ScrollableTabView>
編輯**
更新了原來的職位與PIC。即使在tabStyle = {{borderBottomColor:'white}}之後,它仍然以灰色顯示。我錯過了什麼?你試過了嗎? –
只是檢查,看看你是否看到我以前的評論。請告訴我! –
好吧,我今天晚些時候再試試.. – atlanteh