mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
[react-native-app-intro-slider] - Use type ViewStyle for prope… (#42641)
* Changes type of buttonStyle and paginationStyle to ViewStyle * Remove obsolete type import * Update definitions by section
This commit is contained in:
+4
-3
@@ -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 <https://github.com/hmajid2301>
|
||||
// Oliver Welter <https://github.com/oliverwelter>
|
||||
// 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;
|
||||
|
||||
Reference in New Issue
Block a user