Skip to content

Commit 39c0fac

Browse files
committed
refactor(CFormLabel): update interface
1 parent f455aab commit 39c0fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

5-
export interface CFormLabelProps extends AllHTMLAttributes<HTMLLabelElement> {
5+
export interface CFormLabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
66
/**
77
* A string of all className you want applied to the component.
88
*/

0 commit comments

Comments
 (0)