我有一个使用React Navigation Drawer的React Native项目,使用自定义抽屉组件:

const CustomDrawerContentComponent = (props) => (
    <Container>
        <Header androidStatusBarColor={Colors.BlueDark} title="Title" style={styles.drawerHeader} onPress={() => this.props.navigation.navigate('Home')}>
            <Body style={styles.container}>
                <LogoCircle size={15} />
                <Container style={styles.drawerTextContainer}>
                    <Text style={styles.drawerText}>My App</Text>
                </Container>
            </Body>
        </Header>
        <Content>
            <DrawerItems {...props} />
        </Content>
    </Container>
);

是否可以添加分隔线来制作抽屉物品的部分?我希望我的一半项目在一个部分中,另一半在另一个部分中,由分隔符分割 .

我知道可以创建自定义抽屉条目,导航到按下的某些页面,但在这种情况下,我不能使用样式,如“activeBackgroundColor” .