Files
cbsnexora/src/app/shared/svg-icon/svg-icon.component.ts
T

30 lines
793 B
TypeScript

/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import { Component, Input } from '@angular/core';
import { NgClass } from '@angular/common';
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
@Component({
selector: 'mifosx-svg-icon',
templateUrl: './svg-icon.component.html',
styleUrls: ['./svg-icon.component.scss'],
imports: [
...STANDALONE_SHARED_IMPORTS,
NgClass
]
})
export class SvgIconComponent {
@Input() iconFile: string;
@Input() iconName: string;
@Input() iconClass: string;
@Input() iconWidth: string;
constructor() {}
}