Skip to content

Commit a143b1c

Browse files
committed
fix(CCardImage): Property src does not exist on props
1 parent dbd01f2 commit a143b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/coreui-react/src/components/card/CCardImage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import React, { ElementType, forwardRef, HTMLAttributes } from 'react'
1+
import React, { ElementType, forwardRef, ImgHTMLAttributes } from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
44

55
export interface CCardImageProps
6-
extends HTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
6+
extends ImgHTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
77
/**
88
* A string of all className you want applied to the base component.
99
*/

0 commit comments

Comments
 (0)