Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit9265cb4

Browse files
committed
FIx CListGroup not passing props
1 parent5612934 commit9265cb4

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
exportconstCListGroup: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)

[8]ページ先頭

©2009-2025 Movatter.jp