expo-datepicker
Version:
Simple date picker
22 lines (21 loc) • 679 B
TypeScript
/// <reference types="react" />
import { TextStyle, ViewStyle } from "react-native";
export interface DatepickerProps {
backgroundColor?: string;
borderColor?: string;
containerStyle?: ViewStyle;
date?: string;
fontStyle?: TextStyle;
icon?: any;
inputDayStyle?: ViewStyle;
inputMonthStyle?: ViewStyle;
inputStyle?: ViewStyle;
inputYearStyle?: ViewStyle;
itemStyleModal?: ViewStyle;
modalBackgroundColor?: string;
selectedColor?: string;
selectedTextColor?: string;
textStyleModal?: TextStyle;
onChange?: (date: string) => void | undefined;
}
export default function DatePicker(props: DatepickerProps): JSX.Element;