docs(tabs): add more docs

This commit is contained in:
Manu Mtz.-Almeida
2018-10-31 17:40:31 +01:00
parent 6d11cc15f8
commit f23e6e97f1
2 changed files with 39 additions and 7 deletions

View File

@ -82,7 +82,8 @@ export class TabButton implements ComponentInterface {
componentWillLoad() {
if (this.tab === undefined) {
console.warn('ion-tab-button needs a tab, so it can be selected');
console.warn(`ion-tab-button needs a tab name, so it can be selected.
<ion-tab-button tab="TAB_NAME">`);
}
}