mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
refactored text styles, not enough shared
This commit is contained in:
14
app/styles/dimensions.ts
Normal file
14
app/styles/dimensions.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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,
|
||||
}
|
||||
Reference in New Issue
Block a user