mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
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:
12
core/src/components.d.ts
vendored
12
core/src/components.d.ts
vendored
@ -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 {
|
||||
|
Reference in New Issue
Block a user