UNPKG

create-native-di

Version:

cli สำหรับ react native ที่มีตัวอย่างโครงสร้างพื้นฐานพร้อมใช้งานประกอบไปด้วย package หลักๆ เช่น mobx,moment,lodash และรองรับภาษา javascript es6 และมี di สำหรับสลับ Store ที่จะติดต่อ api กับ fake mockup ที่สร้างขึ้นเอง ^^

56 lines (53 loc) 1.41 kB
import variable from "./../variables/platform"; export default (variables = variable) => { const tabBarTheme = { ".tabIcon": { height: undefined }, ".vertical": { height: 60 }, "NativeBase.Button": { ".transparent": { "NativeBase.Text": { fontSize: variables.tabFontSize, color: variables.sTabBarActiveTextColor, fontWeight: "400" }, "NativeBase.IconNB": { color: variables.sTabBarActiveTextColor } }, "NativeBase.IconNB": { color: variables.sTabBarActiveTextColor }, "NativeBase.Text": { fontSize: variables.tabFontSize, color: variables.sTabBarActiveTextColor, fontWeight: "400" }, ".isTabActive": { "NativeBase.Text": { fontWeight: "900" } }, flex: 1, alignSelf: "stretch", alignItems: "center", justifyContent: "center", borderRadius: null, borderBottomColor: "transparent", backgroundColor: variables.tabBgColor }, height: 45, flexDirection: "row", justifyContent: "space-around", borderWidth: 1, borderTopWidth: 0, borderLeftWidth: 0, borderRightWidth: 0, borderBottomColor: "#ccc", backgroundColor: variables.tabBgColor }; return tabBarTheme; };