Closed vinipachecov closed 4 years ago
No support for typescript
To have types
interface DatePickerProps { style: object; date?: Date | null; mode?: 'date'| 'datetime' | 'time'; androidMode?: 'default' | 'calendar' | 'spinner'; placeholder?: string; minDate?: string; maxDate?: string; format?: string; confirmBtnText?: string; cancelBtnText?: string; hideText?: boolean; customStyles?: object; onDateChange: Function; showIcon: boolean; onOpenModal: Function; onCloseModal: Function; height?: any; duration?: any; iconSource?: any; iconComponent?: any; disabled?: any; allowFontScaling?: any; onPressMask?: any; modalOnResponderTerminationRequest?: any; is24Hour?: any; getDateStr?: any; locale?: any; } export const DatePicker: React.ComponentClass<DatePickerProps>; export default DatePicker
react-native -0.61
node -13
npm -v
yarn --version
target platform
operating system
Issue
No support for typescript
Expected Behavior
To have types
Code
Environment
react-native -0.61
:node -13
:npm -v
:yarn --version
: 1.19.2target platform
: Android | iOSoperating system
: Mac OS Catalina