Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions AppIntro.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
declare module "react-native-app-intro" {
import * as React from 'react';

export interface AppIntroProperties extends React.Props<AppIntro>{
dotColor?: string,
activeDotColor?: string,
rightTextColor?: string,
leftTextColor?: string,
onSlideChange?: Function,
onSkipBtnClick?: Function,
onDoneBtnClick?: Function,
onNextBtnClick?: Function,
pageArray?: Array<any>,
doneBtnLabel?: string | React.ReactElement<any>,
skipBtnLabel?: string | React.ReactElement<any>,
nextBtnLabel?: string | React.ReactElement<any>,
customStyles?: object,
defaultIndex?: number,
showSkipButton?: boolean,
showDoneButton?: boolean,
showDots?: boolean,
}

export interface AppIntroStatic extends React.NativeMethodsMixin, React.ComponentClass<AppIntroProperties>{}

var AppIntro: AppIntroStatic;
type AppIntro = AppIntroStatic;

export default AppIntro;
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "react-native-app-intro",
"version": "1.1.5",
"version": "1.1.6",
"description": "react-native-app-intro is a react native plugin implementing a parallax effect welcome page using base on react-native-swiper , similar to the one found in Google's app like Sheet, Drive, Docs...",
"main": "AppIntro.js",
"typings": "AppIntro.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down