expo-datepicker
Version:
Simple date picker
18 lines (17 loc) • 542 B
TypeScript
/// <reference types="react" />
import { TextStyle, ViewStyle } from 'react-native';
import { Option } from '../interfaces/option';
export interface ItemProps {
current: Option | null;
label: string;
option: Option;
value: string;
selectedColor?: string;
selectedTextColor?: string;
textStyleModal?: TextStyle;
modalContainerStyle?: ViewStyle;
containerStyle?: ViewStyle;
itemStyleModal?: ViewStyle;
onPress: (option: Option) => void;
}
export default function Item(props: ItemProps): JSX.Element;