1 Star 0 Fork 0

RN鸿蒙化项目团队/ty-react-native-datepicker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
style.js 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
import {StyleSheet} from 'react-native';
let style = StyleSheet.create({
dateTouch: {
width: 142
},
dateTouchBody: {
flexDirection: 'row',
height: 40,
alignItems: 'center',
justifyContent: 'center'
},
dateIcon: {
width: 32,
height: 32,
marginLeft: 5,
marginRight: 5
},
dateInput: {
flex: 1,
height: 40,
borderWidth: 1,
borderColor: '#aaa',
alignItems: 'center',
justifyContent: 'center'
},
dateText: {
color: '#333'
},
placeholderText: {
color: '#c9c9c9'
},
datePickerMask: {
flex: 1,
alignItems: 'flex-end',
flexDirection: 'row',
backgroundColor: '#00000077'
},
datePickerCon: {
backgroundColor: '#fff',
height: 0,
overflow: 'hidden'
},
btnText: {
position: 'absolute',
top: 0,
height: 42,
paddingHorizontal: 20,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center'
},
btnTextText: {
fontSize: 16,
color: '#46cf98'
},
btnTextCancel: {
color: '#666'
},
btnCancel: {
left: 0
},
btnConfirm: {
right: 0
},
datePicker: {
marginTop: 42,
borderTopColor: '#ccc',
borderTopWidth: 1
},
disabled: {
backgroundColor: '#eee'
}
});
export default style;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rn-mi/ty-react-native-datepicker.git
git@gitee.com:rn-mi/ty-react-native-datepicker.git
rn-mi
ty-react-native-datepicker
ty-react-native-datepicker
master

搜索帮助