mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
22 lines
433 B
TypeScript
22 lines
433 B
TypeScript
"use client";
|
|
|
|
import { CustomButton } from "@/components/ui/custom";
|
|
|
|
interface LinkToScansProps {
|
|
providerUid?: string;
|
|
}
|
|
|
|
export const LinkToScans = ({ providerUid }: LinkToScansProps) => {
|
|
return (
|
|
<CustomButton
|
|
asLink={`/scans?filter[provider_uid]=${providerUid}`}
|
|
ariaLabel="Go to Scans page"
|
|
variant="solid"
|
|
color="action"
|
|
size="sm"
|
|
>
|
|
View Scan Jobs
|
|
</CustomButton>
|
|
);
|
|
};
|