dashboard update added
This commit was merged in pull request #47.
This commit is contained in:
@@ -43,24 +43,26 @@ const DashboardPage: FC = () => {
|
||||
<div className="col-md-6 col-lg-6 col-xl-6 col-xxl-3 mb-md-5 mb-xl-10">
|
||||
<CardsWidget20
|
||||
className="h-md-50 mb-5 mb-xl-10"
|
||||
description="Active Projects"
|
||||
description="Active Applications"
|
||||
color="#F1416C"
|
||||
img={toAbsoluteUrl('media/patterns/vector-1.png')}
|
||||
dashData={dashDetails}
|
||||
/>
|
||||
<CardsWidget7
|
||||
className="h-md-50 mb-5 mb-xl-10"
|
||||
description="Professionals"
|
||||
description="Todays Applications"
|
||||
icon={false}
|
||||
stats={357}
|
||||
labelColor="dark"
|
||||
textColor="gray-300"
|
||||
dashData={dashDetails}
|
||||
/>
|
||||
</div>
|
||||
{/* end::Col */}
|
||||
|
||||
{/* begin::Col */}
|
||||
<div className="col-md-6 col-lg-6 col-xl-6 col-xxl-3 mb-md-5 mb-xl-10">
|
||||
<CardsWidget17 className="h-md-50 mb-5 mb-xl-10" />
|
||||
<CardsWidget17 dashData={dashDetails} className="h-md-50 mb-5 mb-xl-10" />
|
||||
<ListsWidget26 className="h-lg-50" />
|
||||
</div>
|
||||
{/* end::Col */}
|
||||
|
||||
@@ -32,6 +32,20 @@ export type RecentBVNProps = {
|
||||
nationality?: string | null
|
||||
}[]
|
||||
|
||||
export type DataProps = {
|
||||
active_loans?: string
|
||||
applications?: string
|
||||
today_application?: string | number
|
||||
curr_month?: string
|
||||
curr_application_amount?: string | number
|
||||
curr_application_percentage?: string
|
||||
curr_application_direction?: string
|
||||
recent_applications?: Array<{[index: string]: string}>,
|
||||
ready_loans?: string
|
||||
verified_loans?: string
|
||||
approved_loans?: string
|
||||
}
|
||||
|
||||
|
||||
export type DashDataProps = {
|
||||
loading: boolean,
|
||||
@@ -39,5 +53,6 @@ export type DashDataProps = {
|
||||
call_return?: string
|
||||
recent_applications? : RecentApplicationsProps
|
||||
recent_bvn?: RecentBVNProps
|
||||
dash_data? : DataProps
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user