mempool/frontend/src/app/components/svg-images/svg-images.component.ts
2022-06-05 22:29:05 +04:00

17 lines
461 B
TypeScript

import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
@Component({
selector: 'app-svg-images',
templateUrl: './svg-images.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class SvgImagesComponent {
randomId = Math.floor(Math.random() * 10000);
@Input() name: string;
@Input() class: string;
@Input() style: string;
@Input() width: string;
@Input() height: string;
@Input() viewBox: string;
}