Skip to content

Commit e716bc8

Browse files
authored
Merge pull request GeekyAnts#1175 from coreh/add/typescript-missing-props
Add missing props in TypeScript definitions file
2 parents 35835b0 + efe3a1a commit e716bc8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ declare module "native-base" {
8787
*/
8888
hasTabs?: boolean;
8989
noShadow?: boolean;
90+
androidStatusBarColor?: string;
9091
}
9192

9293
interface Left {
@@ -560,6 +561,7 @@ declare module "native-base" {
560561
*/
561562
interface CheckBox {
562563
checked?: boolean;
564+
color?: string;
563565
}
564566
/**
565567
* see Widget CheckBox.js
@@ -629,7 +631,7 @@ declare module "native-base" {
629631
}
630632

631633
interface Tab {
632-
heading: TabHeading;
634+
heading: _TabHeading;
633635
}
634636
interface TabHeading {
635637
activeTabStyle?: ReactNative.ViewStyle;
@@ -907,6 +909,7 @@ declare module "native-base" {
907909
export class Tab extends React.Component<NativeBase.Tab, any> {}
908910

909911
export class TabHeading extends React.Component<NativeBase.TabHeading, any> {}
912+
type _TabHeading = TabHeading;
910913
/**
911914
* NativeBase.Item
912915
*/

0 commit comments

Comments
 (0)