expo-datepicker
Version:
Simple date picker
23 lines (22 loc) • 653 B
TypeScript
/// <reference types="react" />
import { TextStyle, ViewStyle } from "react-native";
import { Option } from "./interfaces/option";
interface InputProps {
options: Array<Option>;
option: Option | null;
placeholder: string;
onSelected: (option: Option) => void;
icon: any;
fontStyle?: TextStyle;
style?: ViewStyle;
flex?: number;
selectedColor?: string;
selectedTextColor?: string;
textStyleModal?: TextStyle;
modalBackgroundColor?: string;
containerStyle?: ViewStyle;
borderColor?: string;
itemStyleModal?: ViewStyle;
}
export default function Input(props: InputProps): JSX.Element;
export {};