@coreui/react 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/card/CCardImage.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/card/CCardImage.tsx +2 -2
- package/src/components/form/CFormTextarea.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { ElementType, forwardRef,
|
|
1
|
+
import React, { ElementType, forwardRef, ImgHTMLAttributes } from 'react'
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import classNames from 'classnames'
|
|
4
4
|
|
|
5
5
|
export interface CCardImageProps
|
|
6
|
-
extends
|
|
6
|
+
extends ImgHTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
|
|
7
7
|
/**
|
|
8
8
|
* A string of all className you want applied to the base component.
|
|
9
9
|
*/
|
|
@@ -78,7 +78,7 @@ export const CFormTextarea = forwardRef<HTMLTextAreaElement, CFormTextareaProps>
|
|
|
78
78
|
tooltipFeedback={tooltipFeedback}
|
|
79
79
|
valid={valid}
|
|
80
80
|
>
|
|
81
|
-
<textarea className={_className} {...rest} ref={ref}>
|
|
81
|
+
<textarea className={_className} id={id} {...rest} ref={ref}>
|
|
82
82
|
{children}
|
|
83
83
|
</textarea>
|
|
84
84
|
</CFormControlWrapper>
|