import React from 'react'; import type { PressableProps } from 'react-native-ama'; import { useExpandable } from '../hooks/useExpandable'; import type { UseExpandable } from '../hooks/useExpandable'; import { Pressable } from './Pressable'; type ExpandablePressableProps = React.PropsWithChildren< UseExpandable >; const ExpandablePressableBase = ({ children, ...rest }: ExpandablePressableProps) => { const expandableProps = useExpandable(rest); return {children}; }; export const ExpandablePressable = React.memo(ExpandablePressableBase);