mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
42 lines
1 KiB
TypeScript
42 lines
1 KiB
TypeScript
import React from "react";
|
|
|
|
import Button from "components/buttons/Button";
|
|
import EmptyTable from "components/EmptyTable";
|
|
import CustomLink from "components/CustomLink";
|
|
|
|
const EmptyIntegrationsTable = ({
|
|
className,
|
|
onActionButtonClick,
|
|
}: {
|
|
className: string;
|
|
onActionButtonClick: () => void;
|
|
}) => {
|
|
return (
|
|
<EmptyTable
|
|
graphicName="empty-integrations"
|
|
header="Set up integrations"
|
|
info="Create tickets automatically when Fleet detects new software vulnerabilities or hosts failing policies."
|
|
additionalInfo={
|
|
<>
|
|
Want to learn more?
|
|
<CustomLink
|
|
url="https://fleetdm.com/docs/using-fleet/automations"
|
|
text="Read about automations"
|
|
newTab
|
|
/>
|
|
</>
|
|
}
|
|
primaryButton={
|
|
<Button
|
|
variant="brand"
|
|
className={`${className}__add-button`}
|
|
onClick={onActionButtonClick}
|
|
>
|
|
Add integration
|
|
</Button>
|
|
}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default EmptyIntegrationsTable;
|