import {View} from 'react-native' import {atoms as a, useTheme} from '#/alf' import {type Props as SVGIconProps} from '#/components/icons/common' import {Text} from '#/components/Typography' export function ChatFooter({ children, heading, subheading, icon: Icon, }: React.PropsWithChildren<{ heading: string subheading?: string icon: React.ComponentType }>) { const t = useTheme() return ( {heading} {subheading ? ( {subheading} ) : null} {children} ) }