Browse Source

Add missing property in typescript decleration

master
Henning Hall 6 years ago
parent
commit
ddf04384e1
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      index.d.ts

+ 10
- 1
index.d.ts View File

@ -2,7 +2,6 @@ import { Component } from 'react'
import { ViewProps } from 'react-native'
interface Props extends ViewProps {
textColor?: string
/**
* The currently selected date.
*/
@ -73,6 +72,16 @@ interface Props extends ViewProps {
* instance, to show times in Pacific Standard Time, pass -7 * 60.
*/
timeZoneOffsetInMinutes?: number
/**
* Android picker is fading towords this background color. { color, 'none' }
*/
fadeToColor?: string
/**
* Changes the text color.
*/
textColor?: string
}
class DatePicker extends Component<Props> {}

Loading…
Cancel
Save