/* eslint-disable react/style-prop-object */ import * as React from 'react'; import { StyleSheet, View } from 'react-native'; import { StatusBar } from 'expo-status-bar'; import { Appbar } from 'react-native-paper'; import { Div, Button } from 'react-native-magnus'; import { goBack, navigate, replace } from '../../navigation/RootNavigation'; export default function DetailHeader({ noRight, type, noTab }) { return ( <> {!noRight && } {!noRight && } {!noTab && (
)} ); } const styles = StyleSheet.create({ header: { elevation: 0, shadowOffset: { width: 0, height: 0, }, shadowOpacity: 0, }, view: { // backgroundColor: 'rgb(242, 242, 242)', position: 'absolute', top: 0, left: 0, right: 0, zIndex: 2, }, });