import { Link } from 'react-router' import { GraphIcon } from '~/components/icons/graph' interface CardReportProperty { title: string amound?: number url?: string type?: 'history' | 'report' counter?: number[] } export const CardReport = (properties: CardReportProperty) => { const { title, amound, url } = properties return url ? (

{title}

Rp. {amound}

) : (

{title}

Rp. {amound}

{/*

Pribadi : {0}

Perusahaan : {0}

*/}
) }