UNPKG

react-native-apple-header

Version:

Fully customizable Apple Header View for React Native

16 lines (15 loc) 534 B
import * as React from "react"; import { ImageSourcePropType, ImageStyle } from "react-native"; import { StyleProp, ViewStyle, TextStyle } from "react-native"; interface IProps { dateTitle: string; largeTitle: string; onPress: () => void; imageSource: ImageSourcePropType; style?: StyleProp<ViewStyle>; avatarStyle?: StyleProp<ImageStyle>; dateTitleTextStyle?: StyleProp<TextStyle>; largeTitleTextStyle?: StyleProp<TextStyle>; } declare const AppleHeader: React.FC<IProps>; export default AppleHeader;