Skip to content

Commit dc8683d

Browse files
committed
Fix types
1 parent b0b5989 commit dc8683d

File tree

1 file changed

+4
-2
lines changed
  • app/(home)/components/header/components/item

1 file changed

+4
-2
lines changed

Diff for: app/(home)/components/header/components/item/index.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import { Icon as TablerIcon } from '@tabler/icons-react';
2-
import { Icon as FeatherIcon } from 'react-feather';
1+
import type { IconHeart } from '@tabler/icons-react';
2+
import type { Icon as FeatherIcon } from 'react-feather';
33

44
import { HStack } from '~/components/stack';
55

66
import styles from './styles.module.scss';
77

8+
type TablerIcon = typeof IconHeart;
9+
810
export type ItemProps = {
911
icon: FeatherIcon | TablerIcon;
1012
label: string;

0 commit comments

Comments
 (0)