fix(tab-button): allow standalone tab-button (#16905)

* fix(tab-button): allow standalone tab-button

fixes #16845

* fix lint issue
This commit is contained in:
Manu MA
2018-12-31 12:51:36 +01:00
committed by GitHub
parent 302be5392c
commit 6ca7645258
6 changed files with 30 additions and 27 deletions

View File

@ -4458,9 +4458,13 @@ export namespace Components {
*/
'mode': Mode;
/**
* The selected tab component
*/
'selected': boolean;
/**
* A tab id must be provided for each `ion-tab`. It's used internally to reference the selected tab or by the router to switch between them.
*/
'tab': string;
'tab'?: string;
}
interface IonTabButtonAttributes extends StencilHTMLAttributes {
/**
@ -4484,9 +4488,13 @@ export namespace Components {
*/
'onIonTabButtonClick'?: (event: CustomEvent<TabButtonClickEventDetail>) => void;
/**
* The selected tab component
*/
'selected'?: boolean;
/**
* A tab id must be provided for each `ion-tab`. It's used internally to reference the selected tab or by the router to switch between them.
*/
'tab': string;
'tab'?: string;
}
interface IonTab {