We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9713f25 commit 635de93Copy full SHA for 635de93
src/components/image/CImage.tsx
@@ -1,8 +1,8 @@
1
-import React, { forwardRef, HTMLAttributes } from 'react'
+import React, { forwardRef, ImgHTMLAttributes } from 'react'
2
import PropTypes from 'prop-types'
3
import classNames from 'classnames'
4
5
-export interface CImageProps extends HTMLAttributes<HTMLImageElement> {
+export interface CImageProps extends ImgHTMLAttributes<HTMLOrSVGImageElement> {
6
/**
7
* Set the horizontal aligment.
8
*/
0 commit comments