import { Box, Button, Text } from "@saleor/macaw-ui/next"; import { BoxWithBorder } from "../../../components/box-with-border"; import { SectionWithDescription } from "../../../components/section-with-description"; import { defaultPadding } from "../../../components/ui-defaults"; import { BoxFooter } from "../../../components/box-footer"; import { SendgridConfiguration } from "../configuration/sendgrid-config"; interface DangerousSectionProps { configuration?: SendgridConfiguration; } export const DangerousSection = ({ configuration }: DangerousSectionProps) => { const onRemoveConfiguration = () => { console.log("remove", configuration?.id); }; return ( Remove provider You can remove provider configuration. This operation will remove all settings related to this configuration. Data will be permanently removed from the App.{" "} This operation cant be undone. You still can create new configuration. ); };