@coreui/react
Version:
UI Components Library for React.js
14 lines (13 loc) • 544 B
TypeScript
import { ElementType, HTMLAttributes } from 'react';
import { PolymorphicRefForwardingComponent } from '../../helpers';
export interface CFormTextProps extends HTMLAttributes<HTMLDivElement | 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 CFormText: PolymorphicRefForwardingComponent<'div', CFormTextProps>;