Skip to content

Instantly share code, notes, and snippets.

@workfel
Last active October 31, 2018 19:59
Show Gist options
  • Save workfel/6d2411d7fcccdbb90f9c97b32eee4e69 to your computer and use it in GitHub Desktop.
Save workfel/6d2411d7fcccdbb90f9c97b32eee4e69 to your computer and use it in GitHub Desktop.
Create angular library in your private npm registry on AzureDevOps
button {
padding: 16px;
background: #2196f3;
color : #fff;
font-size:1.2em;
}
<button>
{{label}}
</button>
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'lib-button',
templateUrl: './button.component.html',
styleUrls: ['./button.component.css']
})
export class ButtonComponent implements OnInit {
@Input() label: string;
constructor() { }
ngOnInit() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment