mempool/frontend/src/app/components/svg-images/svg-images.component.ts
2023-03-04 17:40:39 +09:00

18 lines
486 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;
@Input() fill: string;
}