react-native-gifted-chat
Version:
The most complete chat UI for React Native
27 lines (26 loc) • 1.12 kB
TypeScript
import PropTypes from 'prop-types';
import { ReactNode } from 'react';
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
export interface ActionsProps {
options?: {
[key: string]: any;
};
optionTintColor?: string;
icon?: () => ReactNode;
wrapperStyle?: StyleProp<ViewStyle>;
iconTextStyle?: StyleProp<TextStyle>;
containerStyle?: StyleProp<ViewStyle>;
onPressActionButton?(): void;
}
export declare function Actions({ options, optionTintColor, icon, wrapperStyle, iconTextStyle, onPressActionButton, containerStyle, }: ActionsProps): JSX.Element;
export declare namespace Actions {
var propTypes: {
onSend: PropTypes.Requireable<(...args: any[]) => any>;
options: PropTypes.Requireable<object>;
optionTintColor: PropTypes.Requireable<string>;
icon: PropTypes.Requireable<(...args: any[]) => any>;
onPressActionButton: PropTypes.Requireable<(...args: any[]) => any>;
wrapperStyle: PropTypes.Requireable<number | boolean | object>;
containerStyle: PropTypes.Requireable<number | boolean | object>;
};
}