diff --git a/src/app/components/contact-actions-bar/contact-actions-bar.html b/src/app/components/contact-actions-bar/contact-actions-bar.html new file mode 100644 index 0000000..2af2515 --- /dev/null +++ b/src/app/components/contact-actions-bar/contact-actions-bar.html @@ -0,0 +1,7 @@ +
+ + + +
\ No newline at end of file diff --git a/src/app/components/contact-actions-bar/contact-actions-bar.scss b/src/app/components/contact-actions-bar/contact-actions-bar.scss new file mode 100644 index 0000000..b7fdf99 --- /dev/null +++ b/src/app/components/contact-actions-bar/contact-actions-bar.scss @@ -0,0 +1,21 @@ +button { + background-color: transparent; + border: none; +} + +.btn { + font-size: 2rem; + text-decoration: none; + &:hover { + cursor: pointer; + } + + &--edit { + margin-right: 4.44995px; + color: var(--secondary); + } + + &--delete { + color: var(--primary); + } +} \ No newline at end of file diff --git a/src/app/components/contact-actions-bar/contact-actions-bar.spec.ts b/src/app/components/contact-actions-bar/contact-actions-bar.spec.ts new file mode 100644 index 0000000..86734a2 --- /dev/null +++ b/src/app/components/contact-actions-bar/contact-actions-bar.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ContactActionsBar } from './contact-actions-bar'; + +describe('ContactActionsBar', () => { + let component: ContactActionsBar; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [ContactActionsBar] + }) + .compileComponents(); + + fixture = TestBed.createComponent(ContactActionsBar); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/contact-actions-bar/contact-actions-bar.ts b/src/app/components/contact-actions-bar/contact-actions-bar.ts new file mode 100644 index 0000000..94b4260 --- /dev/null +++ b/src/app/components/contact-actions-bar/contact-actions-bar.ts @@ -0,0 +1,12 @@ +import { Component, output } from '@angular/core'; + +@Component({ + selector: 'app-contact-actions-bar', + imports: [], + templateUrl: './contact-actions-bar.html', + styleUrl: './contact-actions-bar.scss', +}) +export class ContactActionsBar { + deleteContact = output(); + editContact = output(); +}