Jules Ogouebandja
LinkedIn

Sorry, we're down for scheduled maintenance right now.

Just dropping in to let you know we'll be shutting down our engines for scheeduled maintenance. We apologize for any inconvenience this may cause, but even a well-oiled machine needs to be service from time to time. On the bright side, we'll be back bigger, and stronger than before. Thanks.

See You Soon!
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
                }));
            }
        }