react-native-plain-calendar
Version:
Calendar component for React-Native
17 lines (16 loc) • 717 B
TypeScript
import * as React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { WeekDayNumber } from '../../types';
import { WeekdayProps } from './Weekday';
export interface WeekProps extends WeekdayProps {
weekContainerStyle?: StyleProp<ViewStyle>;
weekdays: string[];
weekStartsOn?: WeekDayNumber;
WeekdaysComponent?: React.FunctionComponent;
}
interface WeekPrivateProps extends WeekProps {
currentMonth: Date;
}
declare function Week({ currentMonth, weekdayContainerStyle, weekdayStyle, weekContainerStyle, weekdays, weekStartsOn, WeekdaysComponent, }: WeekPrivateProps): JSX.Element;
declare const WeekMemo: React.MemoExoticComponent<typeof Week>;
export { WeekMemo as Week };