reactjs - 标题视图内的议程
问题描述
我正在使用https://github.com/wix/react-native-calendars,我想在我的标题视图中有议程。像这样的东西:
<View style={{ flex: 1 ,backgroundColor: '#269BB9' }}>
<CustomHeader {...this.props} />
<AgendaDiary navigation={this.props.navigation}/>
</View>
解决方案
尝试为视图提供一些高度或将 AgendaDiary 包装在具有一定高度的视图中。
推荐阅读
- ios - Swift:使编程宽度约束适应纵向和横向
- java - 一旦捕获到异常,代码就会终止 java
- javascript - 为什么外部 javascript 类方法返回承诺而内部 vue 组件方法不返回?
- html - 如何将 HTML 表单上的信息导出为预格式化的 PDF
- javascript - Vue 3:从父组件向子组件发出事件
- python - 用于保持正确日期和时间值的正则表达式
- javascript - 类型错误数据到字符串不是函数 vs 代码终端显示类型错误解释条件我是节点 js 的新手,只解释错误
- pandas - 根据 Pandas 中的其他列值填充列
- groovy - 无法将日期转换为字符串 beanshell
- html - 如何使用 CSS Grid 使图像以移动垂直视图为中心?