UNPKG

react-native-plain-calendar

Version:
13 lines (12 loc) 653 B
import * as React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; export interface HeaderButtonComponentProps { type: 'prev' | 'next'; onPress(): void; } export interface HeaderButtonProps extends HeaderButtonComponentProps { children: React.ReactElement | React.ReactElement[] | React.ReactChildren | React.ReactChildren[] | string | string[]; headerButtonStyle: StyleProp<ViewStyle>; HeaderButtonComponent?: React.FunctionComponent<HeaderButtonComponentProps> | null; } export declare function HeaderButton({ type, onPress, children, headerButtonStyle, HeaderButtonComponent, }: HeaderButtonProps): JSX.Element;