Skip to content

Commit 5ded163

Browse files
committed
fix(CForm): update the interface to support all form properties
1 parent ed7ed62 commit 5ded163

File tree

1 file changed

+2
-2
lines changed
  • packages/coreui-react/src/components/form

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import React, { forwardRef, HTMLAttributes } from 'react'
1+
import React, { forwardRef, FormHTMLAttributes } from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
44

5-
export interface CFormProps extends HTMLAttributes<HTMLFormElement> {
5+
export interface CFormProps extends FormHTMLAttributes<HTMLFormElement> {
66
/**
77
* A string of all className you want applied to the component.
88
*/

0 commit comments

Comments
 (0)