about summary refs log tree commit diff
path: root/src/components/forms/DateField/types.ts
blob: 560d780b4a4943c39816d18f35e4ce05aea70ad3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export type DateFieldRef = {
  focus: () => void
  blur: () => void
}
export type DateFieldProps = {
  value: string | Date
  onChangeDate: (date: string) => void
  label: string
  inputRef?: React.Ref<DateFieldRef>
  isInvalid?: boolean
  testID?: string
  accessibilityHint?: string
  maximumDate?: string | Date
}