import { StyledProp } from '@codeleap/styles' import { TimeInputComposition } from './styles' import { DateField } from '@codeleap/form' import { TextInputProps } from '../TextInput' import { DatePickerProps } from 'react-native-date-picker' export type TimeInputProps = Omit & { value?: Date onValueChange?: (value: Date) => void style?: StyledProp disabled?: boolean gap?: number field?: DateField format?: string overlay?: boolean timePickerProps?: Partial /** * Defines the position where the calendar will be anchored relative to the input. */ timePickerPosition?: 'left' | 'right' /** * If `true`, this calendar is part of a globally managed group. * When one calendar in this group opens, all others with `autoClosePeersCalendars: true` will close. */ autoClosePeersOverlays?: boolean }