UNPKG

react-native-plain-calendar

Version:
17 lines (16 loc) 717 B
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 };