From 281e2f499a20e4c92aa01f7e69aeb1c19fb6239d Mon Sep 17 00:00:00 2001 From: Diego Garcia Date: Thu, 5 Sep 2024 16:09:15 -0500 Subject: [PATCH] Add optional classname to Icons component --- src/components/Icons.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Icons.tsx b/src/components/Icons.tsx index 729ee70..4e448fa 100644 --- a/src/components/Icons.tsx +++ b/src/components/Icons.tsx @@ -1,8 +1,11 @@ import { LucideProps } from 'lucide-react' export const Icons = { - underline: (props: LucideProps) => ( - + underline: ({ + className, + ...props + }: LucideProps & { className?: string }) => ( +