25 lines
596 B
TypeScript
25 lines
596 B
TypeScript
import { Component, EventEmitter, Output, Input } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-cta-button',
|
|
templateUrl: './cta-button.html',
|
|
styleUrls: ['./cta-button.scss']
|
|
})
|
|
export class CtaButtonComponent {
|
|
|
|
@Input() label: string = 'COMEÇAR AGORA';
|
|
|
|
@Input() width: string = '250px';
|
|
@Input() height: string = '55px';
|
|
@Input() background: string = '#C91EB5';
|
|
@Input() color: string = '#FFFFFF';
|
|
@Input() fontSize: string = '18px';
|
|
@Input() fontWeight: string = '700';
|
|
|
|
@Output() clicked = new EventEmitter<void>();
|
|
|
|
onClick() {
|
|
this.clicked.emit();
|
|
}
|
|
}
|