8000 refactor(CInputGroupText): update interface · mastercodekw/coreui-react@2e48f7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e48f7b

Browse files
committed
refactor(CInputGroupText): update interface
1 parent 71dff1d commit 2e48f7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

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

5-
export interface CInputGroupTextProps extends HTMLAttributes<HTMLLabelElement | HTMLSpanElement> {
5+
export interface CInputGroupTextProps
6+
extends LabelHTMLAttributes<HTMLLabelElement | HTMLSpanElement> {
67
/**
78
* A string of all className you want applied to the component.
89
*/

0 commit comments

Comments
 (0)
0