Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { Component, Input } from '@angular/core';
selector: 'tab',
styles: [`
padding: 1em;
template: `
<div [hidden]="!active" class="pane">
export class TabComponent {
@Input('tabTitle') title: string;
@Input() active = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment