import React, { useRef } from 'react';
import { OverlayPanel } from 'primereact/overlaypanel';
import ZapForm from './ZapForm';
import { ProgressSpinner } from 'primereact/progressspinner';
const ZapDisplay = ({ zapAmount, event }) => {
const op = useRef(null);
return (
<>
op.current.toggle(e)}>
{zapAmount || zapAmount === 0 ? (
zapAmount
) : (
)}
>
)
}
export default ZapDisplay;