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