From e7e41948abcf33c9ce690696c5560fa6a57ffe8a Mon Sep 17 00:00:00 2001 From: Peter Kuiper Date: Wed, 5 Feb 2020 18:26:56 +0100 Subject: [PATCH] Use TextStyle for iconStyle --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'