We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
src
1 parent dbd01f2 commit a143b1cCopy full SHA for a143b1c
packages/coreui-react/src/components/card/CCardImage.tsx
@@ -1,9 +1,9 @@
1
-import React, { ElementType, forwardRef, HTMLAttributes } from 'react'
+import React, { ElementType, forwardRef, ImgHTMLAttributes } from 'react'
2
import PropTypes from 'prop-types'
3
import classNames from 'classnames'
4
5
export interface CCardImageProps
6
- extends HTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
+ extends ImgHTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
7
/**
8
* A string of all className you want applied to the base component.
9
*/
0 commit comments