react-native-elegant-header
Version:
Fully customizable, easy to use Elegant Header component for React Native
17 lines (16 loc) • 712 B
TypeScript
import * as React from "react";
import { StyleProp, ViewStyle } from "react-native";
import { ITitleProps } from "./components/title/Title";
import { IDescriptionProps } from "./components/description/Description";
import { IBackButtonProps } from "./components/back-button/BackButton";
declare type CustomStyleProp = StyleProp<ViewStyle> | Array<StyleProp<ViewStyle>>;
interface IElegantHeaderProps extends ITitleProps, IDescriptionProps, IBackButtonProps {
style?: CustomStyleProp;
title: string;
description?: string;
TextComponent?: any;
enableBackButton?: boolean;
TouchableComponent?: any;
}
declare const ElegantHeader: React.FC<IElegantHeaderProps>;
export default ElegantHeader;