import React from 'react'; import type { ViewProps } from 'react-native'; import { useTheme } from '../../../theme'; import type { FABProps } from '../FAB'; import { StyledFAB, StyledFABPairWrapper } from './StyledFAB'; export type InnerFABProps = Pick< FABProps, 'icon' | 'title' | 'onPress' | 'testID' >; export interface FABPairProps extends ViewProps { /** * Configuration for the main FAB. */ fabConfig: InnerFABProps; /** * Callback to be called when the cancel FAB is pressed. */ onCancel: () => void; } const Pair = ({ fabConfig, onCancel, ...props }: FABPairProps) => { const { icon, title, onPress, testID } = fabConfig; const theme = useTheme(); return ( ); }; export default Pair;