Skip to content

Commit

Permalink
Merge pull request #2680 from hmajid2301/master
Browse files Browse the repository at this point in the history
Updated Toast.show in index.d.ts
  • Loading branch information
SupriyaKalghatgi authored Apr 25, 2019
2 parents 2bd57b7 + 4c9923a commit 0d0775c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ captures/
# VsCode

.vscode/*
.history/

# Keystore files
*.jks
Expand Down
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
declare module "native-base" {
import * as React from "react";
import * as ReactNative from "react-native";
import {KeyboardAwareScrollViewProps} from "react-native-keyboard-aware-scroll-view";
import { KeyboardAwareScrollViewProps } from "react-native-keyboard-aware-scroll-view";

type RnViewStyleProp = ReactNative.StyleProp<ReactNative.ViewStyle>;
type RnTextStyleProp = ReactNative.StyleProp<ReactNative.TextStyle>;
Expand Down Expand Up @@ -1179,6 +1179,7 @@ declare module "native-base" {
type?: "danger" | "success" | "warning";
duration?: number;
onClose?: (reason: "user" | "timeout" | "functionCall") => any;
style?: RnViewStyleProp;
textStyle?: RnTextStyleProp;
buttonTextStyle?: RnTextStyleProp;
buttonStyle?: RnViewStyleProp;
Expand Down

0 comments on commit 0d0775c

Please sign in to comment.