subtracks/app/styles/dimensions.ts
2021-07-08 17:56:05 +09:00

15 lines
222 B
TypeScript

import { StatusBar } from 'react-native'
const header = 56
const tabBar = 54
const top = () => header + (StatusBar.currentHeight || 0)
const bottom = () => tabBar
export default {
header,
tabBar,
top,
bottom,
}