Skip to content

Commit

Permalink
Add optional classname to Icons component
Browse files Browse the repository at this point in the history
  • Loading branch information
taldr27 committed Sep 5, 2024
1 parent 5d251ff commit 281e2f4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/Icons.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { LucideProps } from 'lucide-react'

export const Icons = {
underline: (props: LucideProps) => (
<svg {...props} viewBox='0 0 687 155'>
underline: ({
className,
...props
}: LucideProps & { className?: string }) => (
<svg {...props} className={className} viewBox='0 0 687 155'>
<g
stroke='currentColor'
strokeWidth='7'
Expand Down

0 comments on commit 281e2f4

Please sign in to comment.