/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import React from 'react'; import { StyleProp, ViewProps } from 'react-native'; import { StyleType } from '../../../../theme'; import { CalendarPickerCellProps } from './calendarPickerCell.component'; import { CalendarDateInfo } from '../../type'; type ViewPropsWithoutChildren = Omit; export interface CalendarPickerProps extends ViewPropsWithoutChildren { data: CalendarDateInfo[][]; isItemSelected: (item: CalendarDateInfo) => boolean; isItemDisabled: (item: CalendarDateInfo) => boolean; isItemToday: (item: CalendarDateInfo) => boolean; onSelect?: (item: CalendarDateInfo) => void; children: (item: CalendarDateInfo, style: StyleType) => React.ReactElement; shouldItemUpdate?: (props: CalendarPickerCellProps, nextProps: CalendarPickerCellProps) => boolean; rowStyle?: StyleProp; } export type CalendarPickerElement = React.ReactElement>; export declare class CalendarPicker extends React.Component> { private renderCellElement; private renderRowElement; render(): React.ReactElement; } export {};