diff --git a/index.d.ts b/index.d.ts index c231901f..62266287 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,6 @@ import { ModalProps, + StyleProp, TextInputProps, TextStyle, TouchableOpacityProps, @@ -23,30 +24,30 @@ export interface Item { } export interface PickerStyle { - chevron?: ViewStyle; - chevronDark?: ViewStyle; - chevronActive?: ViewStyle; - chevronContainer?: ViewStyle; - chevronDown?: ViewStyle; - chevronUp?: ViewStyle; - done?: TextStyle; - doneDark?: TextStyle; - doneDepressed?: TextStyle; - headlessAndroidContainer?: ViewStyle; - headlessAndroidPicker?: ViewStyle; - iconContainer?: ViewStyle; - inputAndroid?: TextStyle; - inputAndroidContainer?: ViewStyle; - inputIOS?: TextStyle; - inputIOSContainer?: ViewStyle; - inputWeb?: TextStyle; - modalViewBottom?: ViewStyle; - modalViewBottomDark?: ViewStyle; - modalViewMiddle?: ViewStyle; - modalViewMiddleDark?: ViewStyle; - modalViewTop?: ViewStyle; - placeholder?: TextStyle; - viewContainer?: ViewStyle; + chevron?: StyleProp; + chevronDark?: StyleProp; + chevronActive?: StyleProp; + chevronContainer?: StyleProp; + chevronDown?: StyleProp; + chevronUp?: StyleProp; + done?: StyleProp; + doneDark?: StyleProp; + doneDepressed?: StyleProp; + headlessAndroidContainer?: StyleProp; + headlessAndroidPicker?: StyleProp; + iconContainer?: StyleProp; + inputAndroid?: StyleProp; + inputAndroidContainer?: StyleProp; + inputIOS?: StyleProp; + inputIOSContainer?: StyleProp; + inputWeb?: StyleProp; + modalViewBottom?: StyleProp; + modalViewBottomDark?: StyleProp; + modalViewMiddle?: StyleProp; + modalViewMiddleDark?: StyleProp; + modalViewTop?: StyleProp; + placeholder?: StyleProp; + viewContainer?: StyleProp; } type CustomModalProps = Omit;