diff --git a/types/react-native-app-intro-slider/index.d.ts b/types/react-native-app-intro-slider/index.d.ts index e759047236..7f7edfefc8 100644 --- a/types/react-native-app-intro-slider/index.d.ts +++ b/types/react-native-app-intro-slider/index.d.ts @@ -1,11 +1,12 @@ // Type definitions for react-native-app-intro-slider 3.0 // Project: https://github.com/jacse/react-native-app-intro-slider // Definitions by: Haseeb Majid +// Oliver Welter // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.1 import * as React from 'react'; -import { ButtonProps, TextProps, ViewStyle } from 'react-native'; +import { TextProps, ViewStyle } from 'react-native'; export interface AppIntroProps { skipLabel?: string; @@ -13,11 +14,11 @@ export interface AppIntroProps { nextLabel?: string; prevLabel?: string; bottomButton?: boolean; - buttonStyle?: ButtonProps; + buttonStyle?: ViewStyle; buttonTextStyle?: TextProps; dotStyle?: ViewStyle; activeDotStyle?: ViewStyle; - paginationStyle?: TextProps; + paginationStyle?: ViewStyle; hidePagination?: boolean; renderNextButton?: () => void; renderPrevButton?: () => void;