react-native-plain-calendar
Version:
Calendar component for React-Native
13 lines (12 loc) • 653 B
TypeScript
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;