Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
FIx CListGroup not passing props
  • Loading branch information
Danikokonn committed Oct 10, 2024
commit 9265cb446755156989dde6cbb4a146dae89009a0
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface CListGroupProps extends HTMLAttributes<HTMLDivElement | HTMLULi
export const CListGroup: PolymorphicRefForwardingComponent<'ul', CListGroupProps> = forwardRef<
HTMLDivElement | HTMLUListElement,
CListGroupProps
>(({ children, as: Component = 'ul', className, flush, layout }, ref) => {
>(({ children, as: Component = 'ul', className, flush, layout, ...rest }, ref) => {
return (
<Component
className={classNames(
Expand All @@ -43,6 +43,7 @@ export const CListGroup: PolymorphicRefForwardingComponent<'ul', CListGroupProps
},
className,
)}
{...rest}
ref={ref}
>
{children}
Expand Down