UNPKG

@pnp/generator-spfx

Version:

This Yeoman generator helps organisations to improve their development workflow with the SharePoint Framework. It extends the functionalities of the @microsoft/generator-sharepoint based on best pattern and practices. This generator extends the capabiliti

18 lines (13 loc) 477 B
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'app-<%= componentClassNameKebabCase %>', templateUrl: './<%= componentClassNameKebabCase %>.component.html', styleUrls: ['./<%= componentClassNameKebabCase %>.component.scss'], encapsulation: ViewEncapsulation.Emulated }) export class <%= componentClassName %>Component implements OnInit { @Input() description!: string; constructor() { } ngOnInit() { } }