ng-ytl-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
18 lines (16 loc) • 358 B
text/typescript
import {
Component,
Input,
TemplateRef,
ViewEncapsulation,
} from '@angular/core';
@Component({
selector : 'nz-tab-body',
encapsulation: ViewEncapsulation.None,
template : `
<ng-template [ngTemplateOutlet]="content"></ng-template>
`,
})
export class NzTabBodyComponent {
@Input() content: TemplateRef<void>;
}