11 lines
231 B
TypeScript
11 lines
231 B
TypeScript
import feather from "feather-icons";
|
|
|
|
let alreadyReplaced = false;
|
|
|
|
export function replaceIcons(once: boolean = true): void {
|
|
if (!once || !alreadyReplaced) {
|
|
alreadyReplaced = true;
|
|
feather.replace();
|
|
}
|
|
}
|