mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2627] Icons-only mode for Info Drawer (#3398)
* tab with icon * docs * test
This commit is contained in:
committed by
Eugenio Romano
parent
fd729e76c0
commit
648ac585b4
@@ -22,9 +22,14 @@ import { MatTabChangeEvent } from '@angular/material';
|
||||
template: '<ng-template><ng-content></ng-content></ng-template>'
|
||||
})
|
||||
export class InfoDrawerTabComponent {
|
||||
/** The title of the tab. */
|
||||
@Input()
|
||||
label: string = 'Main tab';
|
||||
|
||||
/** Icon to render for the tab. */
|
||||
@Input()
|
||||
icon: string = null;
|
||||
|
||||
@ViewChild(TemplateRef)
|
||||
content: TemplateRef<any>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user