UNPKG

react-native-elegant-header

Version:

Fully customizable, easy to use Elegant Header component for React Native

17 lines (13 loc) 330 B
import { ViewStyle, StyleSheet } from "react-native"; interface Style { container: ViewStyle; } export const _containerGlueStyle = (enableBackButton: boolean): ViewStyle => ({ marginTop: enableBackButton ? 24 : 0, }); export default StyleSheet.create<Style>({ container: { marginTop: 16, marginLeft: 16, }, });