- Add default page parameter di apiAllUser - Refactor MainView_V2.tsx dengan separate render functions - Update pagination pageSize menjadi 10 di Forum - Fix iOS height constant dan tab styling - Rename Admin_ScreenPortofolioCreate ke ScreenPortofolioCreate - Add TASKS documentation folder Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
26 lines
761 B
TypeScript
26 lines
761 B
TypeScript
import { TabBarBackground } from "@/components";
|
|
import { MainColor } from "@/constants/color-palet";
|
|
import { OS_IOS_HEIGHT, OS_ANDROID_HEIGHT } from "@/constants/constans-value";
|
|
import { BottomTabNavigationOptions } from "@react-navigation/bottom-tabs";
|
|
import { Platform } from "react-native";
|
|
|
|
export const TabsStyles: BottomTabNavigationOptions = {
|
|
headerShown: false,
|
|
tabBarActiveTintColor: MainColor.yellow,
|
|
tabBarInactiveTintColor: MainColor.white_gray,
|
|
tabBarStyle: Platform.select({
|
|
ios: {
|
|
borderTopWidth: 0,
|
|
paddingTop: 12,
|
|
height: OS_IOS_HEIGHT,
|
|
},
|
|
android: {
|
|
borderTopWidth: 0,
|
|
paddingTop: 5,
|
|
height: OS_ANDROID_HEIGHT,
|
|
},
|
|
default: {},
|
|
}),
|
|
tabBarBackground: TabBarBackground,
|
|
};
|