From bca6e47a2733ccc00f4cb67f927787c84fa008f1 Mon Sep 17 00:00:00 2001 From: Xinos Date: Thu, 2 Nov 2023 00:00:12 +0700 Subject: [PATCH] refactoring icon component --- src/components/Icon.vue | 136 +++++++++++++---------------------- src/pages/SpaceBuildings.vue | 7 +- src/utils/CustomIcon.ts | 17 ----- 3 files changed, 52 insertions(+), 108 deletions(-) delete mode 100644 src/utils/CustomIcon.ts diff --git a/src/components/Icon.vue b/src/components/Icon.vue index 06e8ca16..9299d65f 100644 --- a/src/components/Icon.vue +++ b/src/components/Icon.vue @@ -16,10 +16,9 @@ diff --git a/src/utils/CustomIcon.ts b/src/utils/CustomIcon.ts deleted file mode 100644 index 5eec382c..00000000 --- a/src/utils/CustomIcon.ts +++ /dev/null @@ -1,17 +0,0 @@ -export default class CustomIcon { - private readonly _name: string; - - constructor(name: string) { - this._name = name; - } - - get name() { - return this._name; - } - - - // маскировка под String - includes() { - return false; - } -}