/** * @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, TextStyle, TouchableOpacityProps } from 'react-native'; import { StyledComponentProps, StyleType } from '../../../../theme'; import { CalendarDateInfo } from '../../type'; type ChildrenProp = (date: CalendarDateInfo, style: StyleType) => React.ReactElement; export interface CalendarPickerCellProps extends StyledComponentProps { date: CalendarDateInfo; selected?: boolean; bounding?: boolean; today?: boolean; range?: boolean; firstRangeItem?: boolean; lastRangeItem?: boolean; onSelect?: (date: CalendarDateInfo) => void; children: ChildrenProp; shouldComponentUpdate?: (props: CalendarPickerCellProps, nextProps: CalendarPickerCellProps) => boolean; style?: StyleProp; disabled?: boolean; } export type CalendarPickerCellElement = React.ReactElement>; export declare class CalendarPickerCell extends React.Component> { shouldComponentUpdate(nextProps: CalendarPickerCellProps): boolean; private onPress; private getContainerBorderRadius; private getComponentStyle; private renderContentElement; render(): React.ReactElement; } export {};