import React from 'react' ; import { usePropsResolution } from '../../../hooks' ; import { Popper } from '../Popper' ; import type { IBoxProps } from '../../primitives/Box' ; import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ; const PopoverArrow = React . forwardRef ( ( props , ref ) => { const resolvedProps = usePropsResolution ( 'PopoverArrow' , props ) ; if ( useHasResponsiveProps ( props ) ) { return null ; } return < Popper . Arrow { ... props } { ... resolvedProps } ref = { ref } / > ; } ) ; PopoverArrow . displayName = 'PopperArrow' ; export default PopoverArrow ;