8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83452f3 commit a060bb7Copy full SHA for a060bb7
packages/coreui-react/src/components/modal/CModal.tsx
@@ -108,7 +108,7 @@ export const CModal = forwardRef<HTMLDivElement, CModalProps>(
108
transition = true,
109
unmountOnClose = true,
110
visible,
111
- ...attributes
+ ...rest
112
},
113
ref,
114
) => {
@@ -233,9 +233,10 @@ export const CModal = forwardRef<HTMLDivElement, CModalProps>(
233
fullscreen={fullscreen}
234
scrollable={scrollable}
235
size={size}
236
- {...attributes}
237
>
238
- <CModalContent ref={modalContentRef}>{children}</CModalContent>
+ <CModalContent {...rest} ref={modalContentRef}>
+ {children}
239
+ </CModalContent>
240
</CModalDialog>
241
</div>
242
</CModalContext.Provider>
0 commit comments