chore: addimg tabbable component android

This commit is contained in:
Vasko
2020-03-31 20:51:30 +03:00
parent 35bed137f4
commit ecb844f9f2
18 changed files with 757 additions and 952 deletions

View File

@@ -332,7 +332,7 @@ export interface BackstackEntry {
}
// @public
export class BottomNavigation extends TabNavigationBase {
export class BottomNavigation extends TabbableComponent {
android: any /* android.view.View */;
ios: any /* UITabBarController */;
@@ -2195,6 +2195,26 @@ export class Switch extends View {
offBackgroundColor: Color;
}
// @public
export abstract class TabbableComponent extends TabNavigationBase {
android: any /* android.view.View */;
ios: any /* UITabBarController */;
items: Array<TabContentItem>;
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
selectedIndex: number;
public static selectedIndexChangedEvent: string;
tabStrip: TabStrip;
}
// @public
export class TabContentItem extends ContentView {
// (undocumented)
@@ -2237,7 +2257,6 @@ export class TabNavigationBase extends View {
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
// Warning: (ae-forgotten-export) The symbol "SelectedIndexChangedEventData" needs to be exported by the entry point index.d.ts
on(event: "selectedIndexChanged", callback: (args: SelectedIndexChangedEventData_2) => void, thisArg?: any);
onItemsChanged(oldItems: TabContentItem[], newItems: TabContentItem[]): void;
@@ -2282,7 +2301,7 @@ export class TabNavigationBase extends View {
}
// @public
export class Tabs extends TabNavigationBase {
export class Tabs extends TabbableComponent {
android: any /* android.view.View */;
ios: any /* UITabBarController */;