Skip to content

Commit

Permalink
add orientation prop default value
Browse files Browse the repository at this point in the history
  • Loading branch information
firehawk89 committed Feb 11, 2024
1 parent 34c0e60 commit 5df16a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/icons-list/icons-list.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { cn } from '@/utils'
import { FC, HTMLAttributes } from 'react'

interface IconsListProps extends HTMLAttributes<HTMLUListElement> {
export interface IconsListProps extends HTMLAttributes<HTMLUListElement> {
orientation?: 'horizontal' | 'vertical'
}

const IconsList: FC<IconsListProps> = ({
children,
className,
orientation,
orientation = 'horizontal',
...props
}) => {
return (
Expand Down

0 comments on commit 5df16a9

Please sign in to comment.