在React-native中更改本机基址中的I18nManager.forceRTL(true)时,选项卡未呈现

在React-native中更改本机基址中的I18nManager.forceRTL(true)时,选项卡未呈现,react-native,tabs,react-native-android,native-base,React Native,Tabs,React Native Android,Native Base,我正在使用“本机基础”中的选项卡 我正在以选项卡形式显示日历,如 它在英语中显示正确,但当我们用阿拉伯语更改它时 I18nManager.forceRTL(true); I18nManager.allowRTL(true); 应用程序转换为RTL,但当我打开这个模式,它显示空白的第一次,像第一个屏幕截图。 当我们点击tab onChangeTab时,根据RTL显示正确的选项卡,但内容并没有改变 内容显示与以前一样,表示最后一个选项卡以英语显示周等内容,第一个选项卡以英语显示日期等内容 显示

我正在使用“本机基础”中的选项卡

我正在以选项卡形式显示日历,如

它在英语中显示正确,但当我们用阿拉伯语更改它时

I18nManager.forceRTL(true);
I18nManager.allowRTL(true);
应用程序转换为RTL,但当我打开这个模式,它显示空白的第一次,像第一个屏幕截图。 当我们点击tab onChangeTab时,根据RTL显示正确的选项卡,但内容并没有改变

内容显示与以前一样,表示最后一个选项卡以英语显示周等内容,第一个选项卡以英语显示日期等内容

显示选项卡的代码

<Tabs
onChangeTab={({ i }) => {
    console.log("current tab--",i)
    startDate=null;endDate=null;
    this.setState({ currentTab: i
        })
    //selectedDays:{}
    startDate=null;
    endDate=null;
}}
tabBarPosition={'top'}
tabBarUnderlineStyle={styles.tabBarUnderlineStyle}>
<Tab textStyle={styles.inActiveTextStyle}
    activeTextStyle={styles.activeTextStyle}
    heading={ <TabHeading style={{backgroundColor:'#f8f8f8'}}>

        {this.state.currentTab ==0 &&
        < TabHeadingComponents isCurrent={'1'}  cal_icon={require('../Resources/Images/DateEnable.png')} title={translate("date")}/>
        }
        {this.state.currentTab != 0 &&
        < TabHeadingComponents isCurrent={'0'}  cal_icon={require('../Resources/Images/DateDisable.png')} title={translate("date")}/>
        }
    </TabHeading>}>

    <View />
</Tab>

<Tab
    tabBarUnderlineStyle={styles.tabBarUnderlineStyle}
    textStyle={styles.inActiveTextStyle}
    activeTextStyle={styles.activeTextStyle}
    heading={<TabHeading style={{backgroundColor:'#f8f8f8'}}>

        {this.state.currentTab == 1 &&
        <TabHeadingComponents isCurrent={'1'} cal_icon={require('../Resources/Images/monthEnable.png')} title={translate("month")}/>

        }
        {this.state.currentTab != 1 &&
        <TabHeadingComponents isCurrent={'0'} cal_icon={require('../Resources/Images/monthDisable.png')} title={translate("month")}/>
        }



    </TabHeading>}>

    <View/>
</Tab>

<Tab

    textStyle={styles.inActiveTextStyle}
    activeTextStyle={styles.activeTextStyle}
    heading={ <TabHeading style={{backgroundColor:'#f8f8f8'}}>

        {this.state.currentTab == 2 &&
        <TabHeadingComponents isCurrent={'1'} cal_icon={require('../Resources/Images/weekEnable.png')} title={translate("week")}/>

        }
        {this.state.currentTab != 2 &&
        <TabHeadingComponents isCurrent={'0'} cal_icon={require('../Resources/Images/weekDisable.png')} title={translate("week")}/>
        }


    </TabHeading>}>

    <View/>
</Tab>
{
log(“当前选项卡--”,i)
startDate=null;endDate=null;
this.setState({currentTab:i
})
//所选日期:{}
startDate=null;
endDate=null;
}}
tabBarPosition={'top'}
tabBarUnderlineStyle={styles.tabBarUnderlineStyle}>
}
{this.state.currentTab!=0&&

}
}>

你能解决这个问题吗?