Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update types #398

Merged
merged 1 commit into from
Mar 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 7 additions & 19 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,6 @@ export interface DateTimePickerProps {
*/
customConfirmButtonIOS?: ConfirmButtonComponent;

/**
* A custom component for the confirm button on iOS that will be shown while user interacting with the date picker
*
* Doesn't work without customConfirmButtonIOS
*/
customConfirmButtonWhileInteractingIOS?: JSX.Element;

/**
* The style of the ReactNativeModal container on iOS
*/
contentContainerStyleIOS?: ViewStyle;

/**
* The style of the cancel button container on iOS
*/
cancelButtonContainerStyleIOS?: ViewStyle;

/**
* A custom component for the title container on iOS
*/
Expand All @@ -83,9 +66,14 @@ export interface DateTimePickerProps {
customPickerIOS?: PickerComponent;

/**
* The style of the container on iOS
* Style of the modal content (iOS)
*/
modalStyleIOS?: ViewStyle;

/**
* The style of the picker container (iOS)
*/
datePickerContainerStyleIOS?: ViewStyle;
pickerContainerStyleIOS?: ViewStyle;

/**
* Initial selected date/time
Expand Down