Skip to content

Commit d81af4d

Browse files
committed
fix(CFormTextarea): add missing Textarea's props
1 parent f87eed1 commit d81af4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/coreui-react/src/components/form/CFormTextarea.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { ChangeEventHandler, forwardRef, InputHTMLAttributes } from 'react'
1+
import React, { ChangeEventHandler, forwardRef, TextareaHTMLAttributes } from 'react'
22

33
import classNames from 'classnames'
44
import PropTypes from 'prop-types'
@@ -7,7 +7,7 @@ import { CFormControlWrapper, CFormControlWrapperProps } from './CFormControlWra
77

88
export interface CFormTextareaProps
99
extends CFormControlWrapperProps,
10-
InputHTMLAttributes<HTMLTextAreaElement> {
10+
TextareaHTMLAttributes<HTMLTextAreaElement> {
1111
/**
1212
* A string of all className you want applied to the component.
1313
*/

0 commit comments

Comments
 (0)