Skip to content

Commit

Permalink
Merge pull request GeekyAnts#2622 from tamurayk/fix/interface_of_content
Browse files Browse the repository at this point in the history
TS: Add KeyboardAwareScrollViewProps to Content interface
  • Loading branch information
SupriyaKalghatgi authored Apr 15, 2019
2 parents a13ddb5 + dc211aa commit 2bd57b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +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";

type RnViewStyleProp = ReactNative.StyleProp<ReactNative.ViewStyle>;
type RnTextStyleProp = ReactNative.StyleProp<ReactNative.TextStyle>;
Expand Down Expand Up @@ -169,7 +170,7 @@ declare module "native-base" {
/**
* see Widget Content.js
*/
interface Content extends Testable {
interface Content extends Testable, KeyboardAwareScrollViewProps {
/**
* The theme prop can be applied to any component of NativeBase.
*/
Expand Down

0 comments on commit 2bd57b7

Please sign in to comment.