Files
service-aware-frontend/pkgs/ui/src/components/dashboard/activity/index.tsx
Onur Arslan 1e3e277a9e
Some checks failed
checks / test (pull_request) Failing after 1m48s
checks-impure / test (pull_request) Successful in 25s
[Entities] AP Attachment View Table
- fixed the router problem for different views
- implemented the attachment-table in the access point view
2023-11-19 20:45:53 +01:00

27 lines
807 B
TypeScript

import {DashboardCard} from "@/components/card";
import {NoDataOverlay} from "@/components/noDataOverlay";
import {ReactNode} from "react";
import CustomTable from "@/components/table";
import {ICustomTable} from "@/types";
interface DashboardCardProps {
title: ReactNode;
data: ReactNode;
configuration: ICustomTable;
}
export const RecentActivity = (props: DashboardCardProps) => {
const {title, data, configuration} = props;
return (
<DashboardCard title={title}>
{/*<div className="flex w-full justify-center align-middle">*/}
{/* <NoDataOverlay label="No Activity yet"/>*/}
{/*</div>*/}
<div>
<CustomTable data={data} configuration={configuration}/>
</div>
</DashboardCard>
);
};