We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b5989 commit dc8683dCopy full SHA for dc8683d
app/(home)/components/header/components/item/index.tsx
@@ -1,10 +1,12 @@
1
-import { Icon as TablerIcon } from '@tabler/icons-react';
2
-import { Icon as FeatherIcon } from 'react-feather';
+import type { IconHeart } from '@tabler/icons-react';
+import type { Icon as FeatherIcon } from 'react-feather';
3
4
import { HStack } from '~/components/stack';
5
6
import styles from './styles.module.scss';
7
8
+type TablerIcon = typeof IconHeart;
9
+
10
export type ItemProps = {
11
icon: FeatherIcon | TablerIcon;
12
label: string;
0 commit comments