UNPKG

react-native-ajora

Version:

The most complete AI agent UI for React Native

24 lines (23 loc) 1.02 kB
import React from "react"; import { StyleProp, ViewStyle } from "react-native"; import { ComposerProps } from "../Composer"; import { SendProps } from "../Send"; import { ActionsProps } from "../Actions"; import { IMessage } from "../types"; export interface InputToolbarProps<TMessage extends IMessage> { options?: { [key: string]: () => void; }; optionTintColor?: string; containerStyle?: StyleProp<ViewStyle>; primaryStyle?: StyleProp<ViewStyle>; accessoryStyle?: StyleProp<ViewStyle>; renderAccessory?(props: InputToolbarProps<TMessage>): React.ReactNode; renderActions?(props: ActionsProps): React.ReactNode; renderSend?(props: SendProps<TMessage>): React.ReactNode; renderComposer?(props: ComposerProps): React.ReactNode; onPressActionButton?(): void; icon?: () => React.ReactNode; wrapperStyle?: StyleProp<ViewStyle>; } export declare function InputToolbar<TMessage extends IMessage = IMessage>(props: InputToolbarProps<TMessage>): React.JSX.Element;