aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/components/icons
diff options
context:
space:
mode:
authorPauline <git@ethanlibs.co>2023-12-26 21:40:26 +0100
committerPauline <git@ethanlibs.co>2023-12-26 21:40:26 +0100
commit1ec972a8aad20605d28616b4f88781d6b7985021 (patch)
treef951049113c9003c67fec348e1fe586126df6d74 /apps/website/src/components/icons
parent02534ba7bbf9f4fd7022ab63c619da819fb99d26 (diff)
downloadNexus-1ec972a8aad20605d28616b4f88781d6b7985021.tar.gz
Nexus-1ec972a8aad20605d28616b4f88781d6b7985021.tar.bz2
Nexus-1ec972a8aad20605d28616b4f88781d6b7985021.zip
chore(lint): lint all files
Diffstat (limited to 'apps/website/src/components/icons')
-rw-r--r--apps/website/src/components/icons/Icon.astro7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/website/src/components/icons/Icon.astro b/apps/website/src/components/icons/Icon.astro
index 858b605..b186a76 100644
--- a/apps/website/src/components/icons/Icon.astro
+++ b/apps/website/src/components/icons/Icon.astro
@@ -1,7 +1,6 @@
---
import type { HTMLAttributes } from 'astro/types';
import { parse } from 'node-html-parser';
-import Test from "./impl/book-open.svg";
type _ModIcons =
| 'chatting'
@@ -29,11 +28,11 @@ type _Icons =
| 'link-external'
| External
| ModIcons;
-export type Icons = _Icons; // bypass for Astro compiler issue https://github.com/withastro/compiler/issues/554#issuecomment-1741702411
+export type Icons = _Icons; // bypass for Astro compiler issue https://github.com/withastro/compiler/issues/554#issuecomment-1741702411
interface Props extends HTMLAttributes<'svg'> {
- icon: Icons,
- path?: string,
+ icon: Icons
+ path?: string
size?: number | [number, number]
}