import React , { memo , forwardRef } from 'react' ; import Box , { IBoxProps } from '../../primitives/Box' ; import { usePropsResolution } from '../../../hooks' ; import { ScrollView } from 'react-native' ; import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ; const AlertDialogBody = ( props , ref ? ) => { const newProps = usePropsResolution ( 'AlertDialogBody' , props ) ; if ( useHasResponsiveProps ( props ) ) { return null ; } return ( < ScrollView > < Box { ... newProps } ref = { ref } > { props . children } < /Box> < /ScrollView>); } ; export default memo ( forwardRef ( AlertDialogBody ) ) ;