import React from 'react'; import { Text, View } from 'react-native'; import type { GestureResponderEvent } from 'react-native'; import type { AlertData, RenderableComponent } from '../../../types'; import Box from '../common/Box'; import AlertFooter from './AlertFooter'; import styles from './Alert.styles'; import { useTheme } from '../../../hooks/useTheme'; const Alert: RenderableComponent = ({ WrapperComponent }) => { const theme = useTheme(); return ( {({ buttons, description, title }, createActionCallback) => ( {title} {description} )} ); }; export default Alert;