UNPKG

@coreui/react

Version:

UI Components Library for React.js

14 lines (13 loc) 575 B
import { ElementType, LabelHTMLAttributes } from 'react'; import { PolymorphicRefForwardingComponent } from '../../helpers'; export interface CInputGroupTextProps extends LabelHTMLAttributes<HTMLLabelElement | HTMLSpanElement> { /** * Component used for the root node. Either a string to use a HTML element or a component. */ as?: ElementType; /** * A string of all className you want applied to the component. */ className?: string; } export declare const CInputGroupText: PolymorphicRefForwardingComponent<'span', CInputGroupTextProps>;