import * as React from 'react'; import type { HasDataAttribute, HasRootRef } from '../../types'; export interface WriteBarProps extends React.TextareaHTMLAttributes, HasRootRef { /** * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ textArea: { getRootRef: ... } }`. */ getRef?: React.Ref; /** * Свойства, которые можно прокинуть внутрь компонента: * - `root`: свойства для прокидывания в корень компонента; * - `textArea`: свойства для прокидывания в поле ввода. */ slotProps?: { root?: Omit, 'children'> & HasRootRef & HasDataAttribute; textArea?: React.TextareaHTMLAttributes & HasRootRef & HasDataAttribute; }; /** * Содержимое, отображаемое слева от поля ввода. */ before?: React.ReactNode; /** * Содержимое, отображаемое поверх поля ввода (актуально для iOS). */ inlineAfter?: React.ReactNode; /** * Содержимое, отображаемое справа от поля ввода. */ after?: React.ReactNode; /** * Вызывается при смене высоты поля ввода. */ onHeightChange?: VoidFunction; /** * Добавляет тень вокруг поля ввода. */ shadow?: boolean; /** * @deprecated Неиспользуемое свойство. */ children?: never; } /** * @see https://vkui.io/components/write-bar */ export declare const WriteBar: ({ className, style, before, inlineAfter, after, getRootRef, getRef, onHeightChange, shadow, slotProps, ...restProps }: WriteBarProps) => React.ReactNode; //# sourceMappingURL=WriteBar.d.ts.map