import React from 'react'; import type { StyleProp, ViewStyle } from 'react-native'; import type { IconName } from '../../Icon'; import type { ActionItemProps } from './ActionItem'; export type ActionGroupHandles = { showFAB: () => void; collapseFAB: () => void; hideFAB: () => void; }; export interface ActionGroupProps { /** * @deprecated FAB.ActionGroup's `headerTitle` prop will be removed in the next major release. Please remove it. * * Title of the action group header. */ headerTitle?: string; /** * This function is called on pressing the FAB button. * */ onPress?: () => void; /** * This function is called on pressing the FAB backdrop. * */ onBackdropPress?: () => void; /** * Specify if the FAB button is in active state and the action group is shown. * */ active?: boolean; /** * Title of the floating action button */ fabTitle?: string; /** * Icon name of the floating action button */ fabIcon?: IconName; /** * Additional style. */ style?: StyleProp; /** * Action items of the action group. * */ items?: Array; /** * Testing id of the component. */ testID?: string; /** * Supported orientations for the ActionGroup modal, iOS only. */ supportedOrientations?: ('portrait' | 'landscape')[]; } declare const ActionGroup: React.ForwardRefExoticComponent>; export default ActionGroup;