diff --git a/index.d.ts b/index.d.ts index b128e179..b7bd68bd 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ declare module 'react-native-numeric-input' { - import { ViewStyle } from 'react-native' + import { ViewStyle, TextStyle } from 'react-native' import { Color } from 'csstype' export interface INumericInputProps { @@ -11,7 +11,7 @@ declare module 'react-native-numeric-input' { initValue?: number iconSize?: number borderColor?: Color - iconStyle?: ViewStyle + iconStyle?: TextStyle totalWidth?: number separatorWidth?: number type?: 'plus-minus' | 'up-down'