Skip to content

Commit 9265cb4

Browse files
committed
FIx CListGroup not passing props
1 parent 5612934 commit 9265cb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/coreui-react/src/components/list-group/CListGroup.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CListGroupProps extends HTMLAttributes<HTMLDivElement | HTMLULi
3232
export const CListGroup: PolymorphicRefForwardingComponent<'ul', CListGroupProps> = forwardRef<
3333
HTMLDivElement | HTMLUListElement,
3434
CListGroupProps
35-
>(({ children, as: Component = 'ul', className, flush, layout }, ref) => {
35+
>(({ children, as: Component = 'ul', className, flush, layout, ...rest }, ref) => {
3636
return (
3737
<Component
3838
className={classNames(
@@ -43,6 +43,7 @@ export const CListGroup: PolymorphicRefForwardingComponent<'ul', CListGroupProps
4343
},
4444
className,
4545
)}
46+
{...rest}
4647
ref={ref}
4748
>
4849
{children}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy