import React from 'react' import { Head, router } from '@inertiajs/react' import { HiChevronLeft, HiClipboardDocumentList } from 'react-icons/hi2' import CustomerLayout from '@/Layouts/CustomerLayout' import { handleCopyToClipboard } from '@/Customer/utils' export default function Detail({ poin }) { return (
{ router.get(route('transactions.poin.index')) }} >
{/* detail */}
handleCopyToClipboard(poin.description)} >
{poin.description}
{poin.amount} poin
{poin.format_created_at}
{poin.narration}
) }