diff options
Diffstat (limited to 'frontend/app/config/appConstants.js')
| -rw-r--r-- | frontend/app/config/appConstants.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/app/config/appConstants.js b/frontend/app/config/appConstants.js new file mode 100644 index 0000000..a120915 --- /dev/null +++ b/frontend/app/config/appConstants.js @@ -0,0 +1,7 @@ +import { Platform } from 'react-native'; + +export class UIConstants { + static AppbarHeight = Platform.OS === 'ios' ? 44 : 56; + static StatusbarHeight = Platform.OS === 'ios' ? 20 : 0; + static HeaderHeight = UIConstants.AppbarHeight + UIConstants.StatusbarHeight; +} |