import * as React from 'react'; import type { HasDataAttribute, HasRootRef } from '../../types'; export interface WriteBarProps extends Pick, 'autoComplete' | 'autoCapitalize' | 'autoCorrect' | 'cols' | 'dirName' | 'disabled' | 'maxLength' | 'minLength' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'rows' | 'value' | 'wrap' | 'form' | 'onChange' | 'onFocus' | 'onBlur'>, Omit, 'onChange' | 'onFocus' | 'onBlur'>, HasRootRef { /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ textArea: { getRootRef: ... } }`. */ getRef?: React.Ref | undefined; /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `textArea`: свойства для прокидывания в поле ввода. */ slotProps?: { root?: (Omit, 'children'> & HasRootRef & HasDataAttribute) | undefined; textArea?: (React.TextareaHTMLAttributes & HasRootRef & HasDataAttribute) | undefined; } | undefined; /** * Содержимое, отображаемое слева от поля ввода. */ before?: React.ReactNode | undefined; /** * Содержимое, отображаемое поверх поля ввода (актуально для iOS). */ inlineAfter?: React.ReactNode | undefined; /** * Содержимое, отображаемое справа от поля ввода. */ after?: React.ReactNode | undefined; /** * Вызывается при смене высоты поля ввода. */ onHeightChange?: VoidFunction | undefined; /** * Добавляет тень вокруг поля ввода. */ shadow?: boolean | undefined; /** * @deprecated Неиспользуемое свойство. */ children?: never | undefined; } /** * @see https://vkui.io/components/write-bar */ export declare const WriteBar: ({ before, inlineAfter, after, onHeightChange, shadow, getRef, autoComplete, autoCapitalize, autoCorrect, cols, dirName, disabled, maxLength, minLength, name, placeholder, readOnly, required, value: valueProp, wrap, rows, form, onChange: onChangeProp, onFocus, onBlur, id, inputMode, defaultValue, autoFocus, tabIndex, spellCheck, slotProps, ...restProps }: WriteBarProps) => React.ReactNode; //# sourceMappingURL=WriteBar.d.ts.map