UNPKG

1.12 kBTypeScriptView Raw
1import PropTypes from 'prop-types';
2import { ReactNode } from 'react';
3import { StyleProp, ViewStyle, TextStyle } from 'react-native';
4export interface ActionsProps {
5 options?: {
6 [key: string]: any;
7 };
8 optionTintColor?: string;
9 icon?: () => ReactNode;
10 wrapperStyle?: StyleProp<ViewStyle>;
11 iconTextStyle?: StyleProp<TextStyle>;
12 containerStyle?: StyleProp<ViewStyle>;
13 onPressActionButton?(): void;
14}
15export declare function Actions({ options, optionTintColor, icon, wrapperStyle, iconTextStyle, onPressActionButton, containerStyle, }: ActionsProps): JSX.Element;
16export declare namespace Actions {
17 var propTypes: {
18 onSend: PropTypes.Requireable<(...args: any[]) => any>;
19 options: PropTypes.Requireable<object>;
20 optionTintColor: PropTypes.Requireable<string>;
21 icon: PropTypes.Requireable<(...args: any[]) => any>;
22 onPressActionButton: PropTypes.Requireable<(...args: any[]) => any>;
23 wrapperStyle: PropTypes.Requireable<number | boolean | object>;
24 containerStyle: PropTypes.Requireable<number | boolean | object>;
25 };
26}