1 2 3 4 5 6 7 8 9 10
import { Component, Input } from '@angular/core' @Component({ selector: 'my-feature-boolean', templateUrl: './feature-boolean.component.html', styleUrls: [ './feature-boolean.component.scss' ] }) export class FeatureBooleanComponent { @Input() value: boolean }