Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9265cb4

Browse filesBrowse files
committed
FIx CListGroup not passing props
1 parent 5612934 commit 9265cb4
Copy full SHA for 9265cb4

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/list-group/CListGroup.tsx
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.