Skip to content

Commit 281e2f4

Browse files
committed
Add optional classname to Icons component
1 parent 5d251ff commit 281e2f4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/Icons.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { LucideProps } from 'lucide-react'
22

33
export const Icons = {
4-
underline: (props: LucideProps) => (
5-
<svg {...props} viewBox='0 0 687 155'>
4+
underline: ({
5+
className,
6+
...props
7+
}: LucideProps & { className?: string }) => (
8+
<svg {...props} className={className} viewBox='0 0 687 155'>
69
<g
710
stroke='currentColor'
811
strokeWidth='7'

0 commit comments

Comments
 (0)