import React from 'react'; import { View, Animated } from 'react-native'; import { styles, getWidgetVisibility } from '../styles/widgetStyles'; import { CloseButton } from './CloseButton'; import { useHeightAnimation } from '../hooks/useHeightAnimation'; interface InlineWidgetProps { visible: boolean; height: number; children?: React.ReactNode; onClose?: () => void; } export const InlineWidget: React.FC = ({ visible, height, children, onClose, }) => { const { animatedHeightStyle } = useHeightAnimation(height); return ( {children} ); };