@kadconsulting/dry
Version:
KAD Reusable Component Library
11 lines (10 loc) • 600 B
TypeScript
/// <reference types="react" />
import type { TextInputProps } from './TextInputTypes';
import './TextInput.scss';
export declare const BASE_INPUT_PADDING_HORIZONTAL = 8;
/**
* The most atomic text input consisting of a container, an accessibility label, optional helper text below that swaps out optionally with an
* error message. Can be used to compose more complex text inputs, such as those with adornments for phone numbers, etc.
*/
declare const TextInput: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<HTMLDivElement>>;
export default TextInput;