mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Export CustomStyles for react-native-datepicker
This commit is contained in:
parent
f33738893d
commit
c302245a91
4
types/react-native-datepicker/index.d.ts
vendored
4
types/react-native-datepicker/index.d.ts
vendored
@ -9,7 +9,7 @@ import * as React from 'react';
|
||||
import { StyleProp, TextStyle, ImageStyle, ViewStyle, ImageURISource } from 'react-native';
|
||||
import * as moment from 'moment';
|
||||
|
||||
interface CustomStylesProps {
|
||||
export interface DatePickerCustomStylesProps {
|
||||
placeholderText?: StyleProp<TextStyle>;
|
||||
dateText?: StyleProp<TextStyle>;
|
||||
dateIcon?: StyleProp<ImageStyle>;
|
||||
@ -49,7 +49,7 @@ export interface DatePickerProps {
|
||||
is24Hour?: boolean;
|
||||
getDateStr?: (date: Date) => string;
|
||||
style?: StyleProp<any>;
|
||||
customStyles?: CustomStylesProps;
|
||||
customStyles?: DatePickerCustomStylesProps;
|
||||
minuteInterval?: number;
|
||||
TouchableComponent?: React.Component;
|
||||
allowFontScaling?: boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user