import { Button } from '@taroify/core'; import { PREFIX } from '@/components/product-dialog/const'; import { copy } from '@/utils/common'; interface IContactDirectProps { publisherAcctNo: string; onAfterConfirm: () => void; onReport: () => void; } export default function ContactDirect(props: IContactDirectProps) { const { publisherAcctNo, onAfterConfirm } = props; const handleCopyAndContact = async () => { await copy(publisherAcctNo); onAfterConfirm(); }; return (