import { ReactElement } from 'react'; import { NewsKitIcon } from '../icons'; import { MQ } from '../utils/style'; export type TextInputSize = 'small' | 'medium' | 'large'; export interface TextInputProps extends Omit, 'size'> { size?: TextInputSize; disabled?: boolean; label: string; hideLabel?: boolean; assistiveText?: string; ariaLabel?: string; rules?: Record; dataTestId?: string; icon?: ReactElement; overrides?: { width?: string; input?: { stylePreset?: MQ; spaceInset?: MQ; minHeight?: string; typographyPreset?: MQ; spaceStack?: MQ; spaceInline?: MQ; leadingIcon?: { iconOffset?: MQ; spaceInset?: MQ; }; validationIcon?: { iconOffset?: MQ; spaceInset?: MQ; iconSize?: MQ; }; }; label?: { stylePreset?: MQ; typographyPreset?: MQ; spaceStack?: MQ; spaceInline?: MQ; }; assistiveText?: { stylePreset?: MQ; typographyPreset?: MQ; minHeight?: string; }; }; } //# sourceMappingURL=types.d.ts.map