import React from 'react' import { NewDateTimeFormatter } from '../../../lib/NewDateTimeFormatter' // import {KTIcon} from '../../../helpers' // import {Dropdown1} from '../../content/dropdown/Dropdown1' import { DashDataProps, RecentBVNProps } from '../../../../app/pages/dashboard/model' import RecentBVNList from '../../../layout/components/paginatedListing/RecentBVNList' type Props = { className: string dashData?: DashDataProps } const ListsWidget3: React.FC = ({dashData, className}) => { return (
{/* begin::Header */}

BVN Verification

{/* begin::Menu */} {/*
*/} {/* end::Menu */}
{/* end::Header */} {/* begin::Body */}
{dashData?.loading ? null : dashData?.data?.recent_bvn && dashData?.data?.recent_bvn.length ? {(data:RecentBVNProps) => ( <> {data?.map(item => (
{/* begin::Bullet */} {/* end::Bullet */} {/* begin::Checkbox */} {/*
*/} {/* end::Checkbox */} {/* begin::Description */}
{item?.bvn} {NewDateTimeFormatter(item?.added)}
Pin {item?.pin || 'dummy'}
{/* end::Description */} status: {item?.status}
))} )}
:

No list Found!

}
{/* end::Body */}
) } export {ListsWidget3}