Skip to content
Snippets Groups Projects
Commit 1005b4af authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#19: create solution id component

parent 642e4093
No related branches found
No related tags found
No related merge requests found
<span class="solution_id_bg">Solution ID:{{ solutionId }}</span>
.solution_id_bg {
background-color: #f1f1f1;
border: 1px solid #ccc;
font-size: 10px;
border-radius: 15px;
padding: 0 5px;
}
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SolutionIdComponent } from './solution-id.component';
describe('SolutionIdComponent', () => {
let component: SolutionIdComponent;
let fixture: ComponentFixture<SolutionIdComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [SolutionIdComponent]
})
.compileComponents();
fixture = TestBed.createComponent(SolutionIdComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, Input } from '@angular/core';
import { CommonModule } from '@angular/common';
@Component({
selector: 'gp-solution-id',
standalone: true,
imports: [CommonModule],
templateUrl: './solution-id.component.html',
styleUrl: './solution-id.component.scss',
})
export class SolutionIdComponent {
@Input() solutionId!: string;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment