feat: add box component for income expenses detail
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
.detail {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 4px;
|
||||
row-gap: 4px;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="detail">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { ExpenseIcomeDetailBoxComponent } from './expense-icome-detail-box.component';
|
||||
|
||||
describe('ExpenseIcomeDetailBoxComponent', () => {
|
||||
let component: ExpenseIcomeDetailBoxComponent;
|
||||
let fixture: ComponentFixture<ExpenseIcomeDetailBoxComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [ExpenseIcomeDetailBoxComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(ExpenseIcomeDetailBoxComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'mw-expense-icome-detail-box',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './expense-icome-detail-box.component.html',
|
||||
styleUrl: './expense-icome-detail-box.component.css'
|
||||
})
|
||||
export class ExpenseIcomeDetailBoxComponent {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user