UNPKG

@syncfusion/react-inputs

Version:

Syncfusion React Input package is a feature-rich collection of UI components, including Textbox, Textarea, Numeric-textbox and Form, designed to capture user input in React applications.

33 lines (32 loc) 957 B
import { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react'; import { HorizontalAlignment } from '@syncfusion/react-base'; export { HorizontalAlignment }; export interface HelperTextProps { /** * The helper text content to display below the input. * * @default - */ helperText?: ReactNode; /** * If true, helper text is only visible when the input is focused. * * @default false */ helperTextOnFocus?: boolean; /** * Passed by the parent component to indicate current focus state of the input. * * @default false * @private */ isFocused?: boolean; /** * Controls horizontal alignment of the helper text below the input. * * @default 'Left' */ helperTextDirection?: HorizontalAlignment; } export declare const HelperText: ForwardRefExoticComponent<HelperTextProps & RefAttributes<HTMLDivElement>>; export default HelperText;