Looking for a skilled software developer to bring your project to life? Look no further! With a robust background in developing innovative solutions, I specialize in creating efficient, scalable, and user-friendly software. Whether you need a dynamic website, a mobile app, or a custom software solution, I have the expertise to deliver exceptional results. Let's turn your vision into reality—get in touch today and let's build something amazing together!
import {DomSanitizer} from '@angular/platform-browser';
import {Pipe, PipeTransform} from '@angular/core';
import { icons } from 'feather-icons'; // v4+
@Pipe({ name: 'feather' })
export class FeatherIconsPipe implements PipeTransform {
constructor(private sanitizer: DomSanitizer) {}
transform(icon: string, size: number = 24, color: string = 'inherit') {
return this.sanitizer.bypassSecurityTrustHtml(icons[icon].toSvg({
width: size,
height: size,
color: color
}));
}
}